Add owner id to api token response
This commit is contained in:
parent
933a157278
commit
c614d6beff
|
@ -174,7 +174,8 @@ defmodule FrenzyWeb.Fervor.OauthController do
|
||||||
|
|
||||||
json(conn, %{
|
json(conn, %{
|
||||||
access_token: access_token,
|
access_token: access_token,
|
||||||
token_type: "bearer"
|
token_type: "bearer",
|
||||||
|
owner: to_string(approved_client.user_id)
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue