fix warnings

This commit is contained in:
2024-03-30 20:51:36 +01:00
parent 859cce592b
commit ff54a9e22d
5 changed files with 23 additions and 12 deletions

View File

@ -8,7 +8,7 @@ defmodule SomethingErlang.Accounts.User do
timestamps()
end
def registration_changeset(user, attrs, opts \\ []) do
def registration_changeset(user, attrs, _opts \\ []) do
user
|> cast(attrs, [:bbuserid])
|> validate_required([:bbuserid])