diff options
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6250,7 +6250,7 @@ int og_client_state_process_payload_rest(struct og_client *cli) err = og_cmd_get_clients(root, ¶ms, buf_reply); break; default: - err = og_client_bad_request(cli); + err = og_client_method_not_found(cli); goto err_process_rest_payload; } } else if (!strncmp(cmd, "client/repo", strlen("client/repo"))) { |