mirror of https://git.48k.eu/ogserver
rest: rename "name" to "directory" in GET /oglive/list
Rename name field for the contents of the new live format.master
parent
16baa88541
commit
0ea0394709
|
@ -4664,7 +4664,7 @@ static int og_cmd_oglive_list(char *buffer_reply)
|
||||||
return -1;
|
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_object_set_new(live_entry, "date", json_string(live_datetime));
|
||||||
|
|
||||||
json_array_append_new(oglive_array, live_entry);
|
json_array_append_new(oglive_array, live_entry);
|
||||||
|
|
Loading…
Reference in New Issue