From 66f2f7a85a2a86467f7918c74b83dbb7d45ab209 Mon Sep 17 00:00:00 2001 From: Cheyenne Meyer Date: Mon, 16 May 2016 15:02:49 -0700 Subject: [PATCH] Revert JAXBWriter for SubsonicResponse in REST API schema Fix for compilation failure on the revert from 2cd4f34 --- .../main/java/org/libresonic/player/controller/JAXBWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java b/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java index 4ddfddee..7a6c8579 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java +++ b/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java @@ -134,7 +134,7 @@ public class JAXBWriter { if (jsonp) { writer.append(jsonpCallback).append('('); } - marshaller.marshal(new ObjectFactory().createLibresonicResponse(jaxbResponse), writer); + marshaller.marshal(new ObjectFactory().createSubsonicResponse(jaxbResponse), writer); if (jsonp) { writer.append(");"); }