surrealist / dev-dynamo

0 stars 11 forks source link

Enhance create project error message #3

Closed surrealist closed 1 year ago

surrealist commented 1 year ago

For the project create API endpoint

POST /api/v1/projects

When the template name is not found, list all available template names in the error message.

Sample response error message:

Template 'Snowing' is not found. All available templates are Sunny, Rainy, and Darky.
armshare commented 1 year ago

[Pull Request] (https://github.com/surrealist/dev-dynamo/pull/12) นี้ครับผม