Replace `Pleroma.FlakeId` with `flake_id` hex package
[akkoma] / lib / pleroma / web / oauth / token.ex
index 40f131b5771f3b757c80813a9c7c121824a41728..8ea3738058c4148808c2f3926dff71e82b303090 100644 (file)
@@ -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()