denoland / saaskit

A modern SaaS template built on Fresh.
https://deno.com/saaskit
MIT License
1.15k stars 140 forks source link

refactor: rework submit logic and errors #608

Closed iuioiua closed 11 months ago

iuioiua commented 11 months ago

This change moves the logic for POST /api/items to the more appropriate POST /submit and adds a simple error message if the form was submitted incorrectly.