Skip to content
Snippets Groups Projects
Commit 7bfe28d0 authored by Paul-Christian Volkmer's avatar Paul-Christian Volkmer
Browse files

Task #3852: Send plain values array instead of full feedback object

parent 63e3101d
No related merge requests found
...@@ -47,7 +47,7 @@ public class ARSnovaSocketIOServer { ...@@ -47,7 +47,7 @@ public class ARSnovaSocketIOServer {
public void onData(SocketIOClient client, Feedback data) { public void onData(SocketIOClient client, Feedback data) {
logger.info("setFeedback.onData: Client: {}, message: {}", new Object[] {client, data}); logger.info("setFeedback.onData: Client: {}, message: {}", new Object[] {client, data});
sessionService.postFeedback(data.getSessionkey(), data.getValue()); sessionService.postFeedback(data.getSessionkey(), data.getValue());
server.getBroadcastOperations().sendEvent("updateFeedback", sessionService.getFeedback(data.getSessionkey())); server.getBroadcastOperations().sendEvent("updateFeedback", sessionService.getFeedback(data.getSessionkey()).getValues());
} }
}); });
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment