aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/push
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-09-18 21:54:31 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-09-25 17:14:31 +0700
commitb5dfe83433e092a007f85ed9c0ffe5a47dbfcccd (patch)
treef4f9a16e645d635b61d95dfd54fab81f044c2a46 /lib/pleroma/web/push
parent40c968626dde499969d90f256d5ef6d1b1d5e2b4 (diff)
downloadpleroma-b5dfe83433e092a007f85ed9c0ffe5a47dbfcccd.tar.gz
Replace `Pleroma.FlakeId` with `flake_id` hex package
Diffstat (limited to 'lib/pleroma/web/push')
-rw-r--r--lib/pleroma/web/push/subscription.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/push/subscription.ex b/lib/pleroma/web/push/subscription.ex
index da301fbbc..988fabaeb 100644
--- a/lib/pleroma/web/push/subscription.ex
+++ b/lib/pleroma/web/push/subscription.ex
@@ -15,7 +15,7 @@ defmodule Pleroma.Web.Push.Subscription do
@type t :: %__MODULE__{}
schema "push_subscriptions" do
- belongs_to(:user, User, type: Pleroma.FlakeId)
+ belongs_to(:user, User, type: FlakeId.Ecto.CompatType)
belongs_to(:token, Token)
field(:endpoint, :string)
field(:key_p256dh, :string)