diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-11-28 07:35:18 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-11-28 07:38:06 -0500 |
commit | 510f3d83f0da041e90d358c796eb0c209b265f30 (patch) | |
tree | 6e69ac8cca5432b59be146129a8becc7ea2c7a6f /recipeBuddy/src/main.ts | |
parent | b402ebba4f9c93a0040972748d66f9c4c6b02eb7 (diff) |
Fix default case for http method check
Moves default case (Method Not Allowed) into else clause so it is not
necessary to return from the previous if's --- only for checking http
method, error checking if statements can/should be returning where
needed.
Diffstat (limited to 'recipeBuddy/src/main.ts')
0 files changed, 0 insertions, 0 deletions