diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-09-18 21:54:31 +0700 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-10-04 21:59:17 +0000 |
commit | 67d772dd73af7adb2dfb912298c194fa796a72f9 (patch) | |
tree | 8d1373986dceb4af24cdb86bf9bc5f53dc16615b /lib/pleroma/web/oauth/token.ex | |
parent | 1dd6d81ddf6a4d20830a7a9086e843b4aafda05f (diff) | |
download | pleroma-67d772dd73af7adb2dfb912298c194fa796a72f9.tar.gz |
Replace `Pleroma.FlakeId` with `flake_id` hex package
Diffstat (limited to 'lib/pleroma/web/oauth/token.ex')
-rw-r--r-- | lib/pleroma/web/oauth/token.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/oauth/token.ex b/lib/pleroma/web/oauth/token.ex index 40f131b57..8ea373805 100644 --- a/lib/pleroma/web/oauth/token.ex +++ b/lib/pleroma/web/oauth/token.ex @@ -21,7 +21,7 @@ defmodule Pleroma.Web.OAuth.Token do field(:refresh_token, :string) field(:scopes, {:array, :string}, default: []) field(:valid_until, :naive_datetime_usec) - belongs_to(:user, User, type: Pleroma.FlakeId) + belongs_to(:user, User, type: FlakeId.Ecto.CompatType) belongs_to(:app, App) timestamps() |