Skip to content

fix: adjust Toast for new api response format #4

@ntorga

Description

@ntorga

Currently the Toast component only shows the API response as message if the "body" is a string.
Now we'll have a new format:

{
  "status": int,
  "humanReadableMessage": {"error": *error, "success": *string, "partialSuccess": *string},
  "body": any,
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions