rest: rename "name" to "directory" in GET /oglive/list

Rename name field for the contents of the new live format.
master
Alejandro Sirgo Rica 2024-11-21 13:34:27 +01:00
parent 16baa88541
commit 0ea0394709
1 changed files with 1 additions and 1 deletions

View File

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