Fix guardian db hook when refresh the access token
This commit is contained in:
@@ -32,7 +32,11 @@ defmodule MobilizonWeb.Schema do
|
||||
@desc "A JWT and the associated user ID"
|
||||
object :login do
|
||||
field(:access_token, non_null(:string), description: "A JWT Token for this session")
|
||||
field(:refresh_token, non_null(:string), description: "A JWT Token to refresh the access token")
|
||||
|
||||
field(:refresh_token, non_null(:string),
|
||||
description: "A JWT Token to refresh the access token"
|
||||
)
|
||||
|
||||
field(:user, non_null(:user), description: "The user associated to this session")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user