aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rest-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest-api.c b/src/rest-api.c
index 0751ede8..c85fbea1 100644
--- a/src/rest-api.c
+++ b/src/rest-api.c
@@ -132,7 +132,7 @@ STATIC AFB_error callPluginApi(AFB_request *request, int plugidx, void *context)
switch(plugin->apis[idx].session) {
- case AFB_SESSION_CREATE:
+ case AFB_SESSION_CREATE:
if (clientCtx->token[0] != '\0' && request->config->token[0] != '\0') {
request->errcode=MHD_HTTP_UNAUTHORIZED;
json_object_object_add(jcall, "status", json_object_new_string ("exist"));