diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-11-21 13:34:27 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-11-21 13:34:27 +0100 |
commit | 0ea0394709d7e4e1693992fa29389ad84605dbcf (patch) | |
tree | a2752791a94fb006c9ae13926242efaada676596 /src/rest.c | |
parent | 16baa885411d378b0b0bdd2a9f4e284b40a8f803 (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/rest.c')
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |