diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-11 12:14:43 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-11 12:14:43 +0100 |
commit | 41ce6400330731015c7d60755a576eec29245481 (patch) | |
tree | cbe836219021556c3c09e29511955b8cb2f76f1c | |
parent | 529d83b19e502b2d2c951954112e4faf00101452 (diff) |
rest: update og_uri_handle with new folder commands
Add folder/add and folder/delete, otherwise logging shows "unknown"
-rw-r--r-- | src/rest.c | 2 | ||||
-rw-r--r-- | src/rest.h | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -6887,6 +6887,8 @@ struct { [OG_URI_TASK_ADD] = { "task/add", }, [OG_URI_SERVER] = { "server", }, [OG_URI_STATS] = { "stats", }, + [OG_URI_FOLDER_ADD] = { "folder/add", }, + [OG_URI_FOLDER_DELETE] = { "folder/delete", }, }; static const char *og_uri(enum og_rest_uri uri) @@ -138,6 +138,8 @@ enum og_rest_uri { OG_URI_TASK_ADD, OG_URI_SERVER, OG_URI_STATS, + OG_URI_FOLDER_ADD, + OG_URI_FOLDER_DELETE, OG_URI_MAX }; |