aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/oauth/token.ex
diff options
context:
space:
mode:
authorkaniini <ariadne@dereferenced.org>2019-09-26 02:51:54 +0000
committerkaniini <ariadne@dereferenced.org>2019-09-26 02:51:54 +0000
commit3ff57f1fd3f7529f2c657a3940b1727b8a2df527 (patch)
treec6bb64699c68818c7570f89d473a052f9b9899af /lib/pleroma/web/oauth/token.ex
parentbeabc49e352c8e1b7a29fe4f529b6c5bc5d078c7 (diff)
parentb5dfe83433e092a007f85ed9c0ffe5a47dbfcccd (diff)
downloadpleroma-3ff57f1fd3f7529f2c657a3940b1727b8a2df527.tar.gz
Merge branch 'hex-flake-id' into 'develop'
Replace `Pleroma.FlakeId` with `flake_id` hex package See merge request pleroma/pleroma!1692
Diffstat (limited to 'lib/pleroma/web/oauth/token.ex')
-rw-r--r--lib/pleroma/web/oauth/token.ex2
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()