mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix(auth): align user info fields and fix response parsing (#4)
This commit is contained in:
@@ -1955,9 +1955,15 @@ const docTemplate = `{
|
||||
"access_token": {
|
||||
"type": "string"
|
||||
},
|
||||
"display_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"expires_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"type": "string"
|
||||
},
|
||||
"token_type": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -1946,9 +1946,15 @@
|
||||
"access_token": {
|
||||
"type": "string"
|
||||
},
|
||||
"display_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"expires_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"type": "string"
|
||||
},
|
||||
"token_type": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -142,8 +142,12 @@ definitions:
|
||||
properties:
|
||||
access_token:
|
||||
type: string
|
||||
display_name:
|
||||
type: string
|
||||
expires_at:
|
||||
type: string
|
||||
role:
|
||||
type: string
|
||||
token_type:
|
||||
type: string
|
||||
user_id:
|
||||
|
||||
Reference in New Issue
Block a user