separate profile model from account model
This commit is contained in:
parent
f729160209
commit
c3271d7dcf
15 changed files with 152 additions and 83 deletions
|
|
@ -23,11 +23,4 @@ Authorization: {{jwtUser}}
|
|||
###
|
||||
DELETE {{host}}/api/account/token/1
|
||||
Authorization: {{jwtUser}}
|
||||
###
|
||||
PUT {{host}}/api/account/profile
|
||||
Authorization: {{jwtUser}}
|
||||
|
||||
{
|
||||
"id": 3,
|
||||
"theme": "dark"
|
||||
}
|
||||
|
|
@ -6,10 +6,5 @@ PUT {{host}}/api/profile
|
|||
Authorization: {{jwtUser}}
|
||||
|
||||
{
|
||||
"email": "invalid",
|
||||
"name": "test"
|
||||
"theme": "dark"
|
||||
}
|
||||
###
|
||||
DELETE {{host}}/api/profile
|
||||
Authorization: {{jwtUser}}
|
||||
###
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue