From 780be1e1b7852f38028e0ffe2db54ac8c1506a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 18 Feb 2024 18:24:19 +0100 Subject: relay/api: rename key "index" to "y" in line object --- src/plugins/relay/api/relay-api-msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/relay') diff --git a/src/plugins/relay/api/relay-api-msg.c b/src/plugins/relay/api/relay-api-msg.c index 930603f26..3b9130cb8 100644 --- a/src/plugins/relay/api/relay-api-msg.c +++ b/src/plugins/relay/api/relay-api-msg.c @@ -413,7 +413,7 @@ relay_api_msg_line_data_to_json (struct t_gui_line_data *line_data, return json; MSG_ADD_HDATA_VAR(Number, "id", integer, "id"); - MSG_ADD_HDATA_VAR(Number, "index", integer, "y"); + MSG_ADD_HDATA_VAR(Number, "y", integer, "y"); MSG_ADD_HDATA_TIME_USEC("date", "date", "date_usec"); MSG_ADD_HDATA_TIME_USEC("date_printed", "date_printed", "date_usec_printed"); MSG_ADD_HDATA_VAR(Bool, "highlight", char, "highlight"); -- cgit v1.2.3