Use jst_server.Problem everywhere, make /_lib/post_request.jst use jst_server's new...
authorNick Downing <nick@ndcode.org>
Tue, 25 Jan 2022 23:44:34 +0000 (10:44 +1100)
committerNick Downing <nick@ndcode.org>
Tue, 25 Jan 2022 23:55:47 +0000 (10:55 +1100)
commit86a2eb8c86eaf0bf0834006b04138e2be45f4ceb
tree92b89d11a9f98cdd88abe4516ecc1574e88877ee
parent0bcb600b644042a1e2aa0d62a82e6b3cb9c89969
Use jst_server.Problem everywhere, make /_lib/post_request.jst use jst_server's new error handling to serve the JSON-encoded Problem instead of doing it itself
25 files changed:
_lib/Problem.jst [deleted file]
_lib/post_request.jst
api/account/change_details/get.json.jst
api/account/change_details/get_draft.json.jst
api/account/change_details/set.json.jst
api/account/change_details/set_draft.json.jst
api/account/change_password.json.jst
api/account/password_reset.json.jst
api/account/sign_in.json.jst
api/account/sign_out.json.jst
api/account/sign_up/create_account.json.jst
api/account/sign_up/get_draft.json.jst
api/account/sign_up/send_email_verification_link.json.jst
api/account/sign_up/set_draft.json.jst
api/account/sign_up/verify_email.json.jst
api/account/verify_password.json.jst
api/contact/get_draft.json.jst
api/contact/send_enquiry.json.jst
api/contact/set_draft.json.jst
api/globals/get.json.jst
api/globals/set.json.jst
api/nodemailers/get.json.jst
api/nodemailers/set.json.jst
link.sh
package.json