/*
- * Sone - GetLocalSonesCommand.java - Copyright © 2011 David Roden
+ * Sone - GetLocalSonesCommand.java - Copyright © 2011–2012 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*/
@Override
public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException {
- return new Response(encodeSones(getCore().getLocalSones()));
+ return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones."));
}
}