summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-11-21 13:34:27 +0100
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-11-21 13:34:27 +0100
commit0ea0394709d7e4e1693992fa29389ad84605dbcf (patch)
treea2752791a94fb006c9ae13926242efaada676596 /src
parent16baa885411d378b0b0bdd2a9f4e284b40a8f803 (diff)
rest: rename "name" to "directory" in GET /oglive/list
Rename name field for the contents of the new live format.
Diffstat (limited to 'src')
-rw-r--r--src/rest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.c b/src/rest.c
index b48de4c..2539a49 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -4664,7 +4664,7 @@ static int og_cmd_oglive_list(char *buffer_reply)
return -1;
}
- json_object_set_new(live_entry, "name", json_string(live_name));
+ json_object_set_new(live_entry, "directory", json_string(live_name));
json_object_set_new(live_entry, "date", json_string(live_datetime));
json_array_append_new(oglive_array, live_entry);