diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-09-18 21:54:31 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-09-25 17:14:31 +0700 |
commit | b5dfe83433e092a007f85ed9c0ffe5a47dbfcccd (patch) | |
tree | f4f9a16e645d635b61d95dfd54fab81f044c2a46 /lib/pleroma/web/oauth/authorization.ex | |
parent | 40c968626dde499969d90f256d5ef6d1b1d5e2b4 (diff) | |
download | pleroma-b5dfe83433e092a007f85ed9c0ffe5a47dbfcccd.tar.gz |
Replace `Pleroma.FlakeId` with `flake_id` hex package
Diffstat (limited to 'lib/pleroma/web/oauth/authorization.ex')
-rw-r--r-- | lib/pleroma/web/oauth/authorization.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/oauth/authorization.ex b/lib/pleroma/web/oauth/authorization.ex index d53e20d12..ed42a34f3 100644 --- a/lib/pleroma/web/oauth/authorization.ex +++ b/lib/pleroma/web/oauth/authorization.ex @@ -20,7 +20,7 @@ defmodule Pleroma.Web.OAuth.Authorization do field(:scopes, {:array, :string}, default: []) field(:valid_until, :naive_datetime_usec) field(:used, :boolean, default: false) - belongs_to(:user, User, type: Pleroma.FlakeId) + belongs_to(:user, User, type: FlakeId.Ecto.CompatType) belongs_to(:app, App) timestamps() |