rest: update og_uri_handle with new folder commands

Add folder/add and folder/delete, otherwise logging shows "unknown"
master
OpenGnSys Support Team 2024-01-11 12:14:43 +01:00
parent 529d83b19e
commit 41ce640033
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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
};