From 0ea0394709d7e4e1693992fa29389ad84605dbcf Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Thu, 21 Nov 2024 13:34:27 +0100 Subject: rest: rename "name" to "directory" in GET /oglive/list Rename name field for the contents of the new live format. --- src/rest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-18-g5258