Commit 622299db by Tuukka Kivilahti

fixed

1 parent cb47d177
......@@ -18,6 +18,7 @@ import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.ResponseBuilder;
import fi.codecrew.moya.rest.ArrayListWrapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......@@ -278,10 +279,7 @@ public class PlacemapRestViewV1 {
ArrayList<PlaceCodePojo> ret = makePlaceCodePojos(map.getPlaces());
// muutokset tähän filuun tulee poistaa ennen committia
return null;
//return Response.ok(new ArrayListWrapper<>(ret)).build();
return Response.ok(new ArrayListWrapper<>(ret)).build();
}
private ArrayList<PlaceCodePojo> makePlaceCodePojos(List<Place> places) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!