diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2021-06-09 09:33:43 +0200 |
---|---|---|
committer | Matthias Hecker <36882671+mattzque@users.noreply.github.com> | 2021-06-09 13:49:34 +0200 |
commit | 09849eb8adb566b2f17a7ee533cc4a10ac379fe7 (patch) | |
tree | 101831c8347866d594867ee1fbb02d17d00283be /data/rbot/templates/salut | |
parent | 28502d92c420aefa3832e57561044efa06b9ab8b (diff) |
fix: webservice dispatch syntax check
Early bailout if the command field is not specified in the POST request.
(Not doing this actually leads to an exception in the subsequent debug
because command is an Array and it can't be added to a String,
but ayway the early catch is cleaner error handling.)
Also add a TODO about a potential improvement for permission error handling.
Diffstat (limited to 'data/rbot/templates/salut')
0 files changed, 0 insertions, 0 deletions