Add prefixes to all encoding methods, add method to encode a single Post.
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / GetLocalSonesCommand.java
index 1054f76..718dd89 100644 (file)
@@ -45,7 +45,7 @@ public class GetLocalSonesCommand extends AbstractSoneCommand {
         */
        @Override
        public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException {
-               return new Response(encodeSones(getCore().getLocalSones()));
+               return new Response(encodeSones(getCore().getLocalSones(), "LocalSones."));
        }
 
 }