From 41ce6400330731015c7d60755a576eec29245481 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 11 Jan 2024 12:14:43 +0100 Subject: rest: update og_uri_handle with new folder commands Add folder/add and folder/delete, otherwise logging shows "unknown" --- src/rest.c | 2 ++ src/rest.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src') diff --git a/src/rest.c b/src/rest.c index 75a4782..5bafb4c 100644 --- a/src/rest.c +++ b/src/rest.c @@ -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) diff --git a/src/rest.h b/src/rest.h index c2ebd69..faa380f 100644 --- a/src/rest.h +++ b/src/rest.h @@ -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 }; -- cgit v1.2.3-18-g5258