diff --git a/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java b/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java index 190cb72..c25ab36 100644 --- a/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java +++ b/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java @@ -39,7 +39,7 @@ @Path("/{aid}/pageMap/{pid}/layers") @POST @Produces(MediaType.APPLICATION_JSON) - public Integer addLayers(@PathParam("aid") Integer aid, @PathParam("pid") Integer pid) { + public Integer addLayer(@PathParam("aid") Integer aid, @PathParam("pid") Integer pid) { var pages = gallery.getAnimationByAid(aid).getPages(); if (pages.get(pid).getLayers().size() < 4) {