Skip to content

Commit

Permalink
fix: ErrorBrowserLocationChangeRequired type
Browse files Browse the repository at this point in the history
  • Loading branch information
jossbnd committed Jul 26, 2023
1 parent 53080b0 commit ff3d3ae
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion selfservice/flow/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func NewFlowExpiredError(at time.Time) *ExpiredError {
//nolint:deadcode,unused
//lint:ignore U1000 Used to generate Swagger and OpenAPI definitions
type errorBrowserLocationChangeRequired struct {
Error swagger.ErrorGeneric `json:"error"`
Error swagger.GenericError `json:"error"`

// Points to where to redirect the user to next.
RedirectBrowserTo string `json:"redirect_browser_to"`
Expand Down
2 changes: 1 addition & 1 deletion spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@
"errorBrowserLocationChangeRequired": {
"properties": {
"error": {
"$ref": "#/components/schemas/errorGeneric"
"$ref": "#/components/schemas/genericError"
},
"redirect_browser_to": {
"description": "Points to where to redirect the user to next.",
Expand Down
2 changes: 1 addition & 1 deletion spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3591,7 +3591,7 @@
"title": "Is sent when a flow requires a browser to change its location.",
"properties": {
"error": {
"$ref": "#/definitions/errorGeneric"
"$ref": "#/definitions/genericError"
},
"redirect_browser_to": {
"description": "Points to where to redirect the user to next.",
Expand Down

0 comments on commit ff3d3ae

Please sign in to comment.