projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OTP release install guide sceleton
[akkoma]
/
lib
/
pleroma
/
user_invite_token.ex
diff --git
a/lib/pleroma/user_invite_token.ex
b/lib/pleroma/user_invite_token.ex
index 86f0a548690c00ff7e482efa536688757f45a1aa..fadc89891a880d0ab10d7b55a168b547152c1292 100644
(file)
--- a/
lib/pleroma/user_invite_token.ex
+++ b/
lib/pleroma/user_invite_token.ex
@@
-24,7
+24,7
@@
defmodule Pleroma.UserInviteToken do
timestamps()
end
timestamps()
end
- @spec create_invite(map()) ::
UserInviteToken.t()
+ @spec create_invite(map()) ::
{:ok, UserInviteToken.t()}
def create_invite(params \\ %{}) do
%UserInviteToken{}
|> cast(params, [:max_use, :expires_at])
def create_invite(params \\ %{}) do
%UserInviteToken{}
|> cast(params, [:max_use, :expires_at])