Skip to content

Commit

Permalink
dev: update REST swagger docs - fix post session error code
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-foster-uk committed Nov 2, 2023
1 parent 1c48095 commit 1e12108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions application/config/rest/v1/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'schema' => (new SchemaFactoryAuthToken)->make()
],
'unauthorized' => [
'code' => 403,
'code' => 401,
'description' => 'Unauthorized',
'schema' => $errorSchema
]
Expand All @@ -49,7 +49,7 @@
],
'unauthorized' => [
'code' => 403,
'description' => 'Unauthorized',
'description' => 'Forbidden',
'schema' => $errorSchema
]
]
Expand Down

0 comments on commit 1e12108

Please sign in to comment.