Skip to content

Commit

Permalink
Add missing error.soft_logout
Browse files Browse the repository at this point in the history
Signed-off-by: Paarth Shah <mail@shahpaarth.com>
  • Loading branch information
PaarthShah committed Jun 2, 2024
1 parent a175506 commit d0f3719
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1836.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing `soft_logout` property to `error.yaml`, as used by `refresh.yaml`. Contributed by @PaarthShah.
3 changes: 3 additions & 0 deletions data/api/client-server/definitions/errors/error.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ properties:
type: string
description: A human-readable error message.
example: An unknown error occurred
soft_logout:
type: boolean
description: If true within a 401 response, the client can offer to re-log in the user.
required: ["errcode"]

0 comments on commit d0f3719

Please sign in to comment.