Add owner id to api token response

This commit is contained in:
Shadowfacts 2022-03-06 22:09:30 -05:00
parent 933a157278
commit c614d6beff
1 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,8 @@ defmodule FrenzyWeb.Fervor.OauthController do
json(conn, %{
access_token: access_token,
token_type: "bearer"
token_type: "bearer",
owner: to_string(approved_client.user_id)
})
end
end