Add checking and updating DeepL usage information
This commit is contained in:
@ -18,6 +18,6 @@ defmodule Outlook.Translators.DeeplAccount do
|
||||
def changeset(deepl_account, attrs) do
|
||||
deepl_account
|
||||
|> cast(attrs, [:name, :description, :auth_key, :character_limit, :character_count, :our_character_count, :user_id])
|
||||
|> validate_required([:name, :description, :auth_key, :character_limit, :user_id])
|
||||
|> validate_required([:name, :description, :auth_key, :user_id])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user