separate profile model from account model

This commit is contained in:
dhax 2017-10-13 00:11:57 +02:00
parent f729160209
commit c3271d7dcf
15 changed files with 152 additions and 83 deletions

View file

@ -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"
}

View file

@ -6,10 +6,5 @@ PUT {{host}}/api/profile
Authorization: {{jwtUser}}
{
"email": "invalid",
"name": "test"
"theme": "dark"
}
###
DELETE {{host}}/api/profile
Authorization: {{jwtUser}}
###