这是indexloc提供的服务,不要输入任何密码
Skip to content

Error in error return message (just grammar - no biggie) #7396

@corepay

Description

@corepay

Hi, hate to sound nitpicky but I am returning the Hasura error codes and messages to user when I create event webhooks. My OCD is paralyzing at times so wanted to point out a small adjustment that should be made in your error code response...

"data": {
      "error": "event trigger with name \"webhook-h8q0nc2hm96ym7hv6wlc4\" not exists",  <-- here
      "code": "not-exists"
    }

The error message should read:

"data": {
      "error": "event trigger with name \"webhook-h8q0nc2hm96ym7hv6wlc4\" does not exist",  <-- here
      "code": "not-exists"
    }

Real pleased with everything I am finding in Hasura. Really appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/serverRelated to serverk/enhancementNew feature or improve an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions