Add text responses as json with msg key
This commit is contained in:
parent
f97b149376
commit
1d6e8ff037
18 changed files with 114 additions and 83 deletions
src/endpoints
|
@ -201,7 +201,7 @@ api_v1_schedules_STR_DELETE(struct mg_connection *nc, struct http_message *hm, e
|
|||
}
|
||||
else
|
||||
{
|
||||
M_RESPONSE_TEXT_STATIC(LOGGER_DEBUG, response, 200, "the target schedule got deleted");
|
||||
M_RESPONSE_MSG(LOGGER_DEBUG, response, 200, "the target schedule got deleted");
|
||||
}
|
||||
schedule_free(schedule);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue