diff --git a/src/main/java/org/ntlab/acanthus_server/resources/gallery/EditorsRest.java b/src/main/java/org/ntlab/acanthus_server/resources/gallery/EditorsRest.java index 007c4b9..dcdc4ef 100644 --- a/src/main/java/org/ntlab/acanthus_server/resources/gallery/EditorsRest.java +++ b/src/main/java/org/ntlab/acanthus_server/resources/gallery/EditorsRest.java @@ -22,12 +22,12 @@ @Path("{aid}/Editors") @GET @Produces(MediaType.APPLICATION_JSON) - public EditorJson getEditors(@PathParam("aid")Integer aid, @QueryParam("uid") Integer uid) { - var atGallery = gallery.getAnimationInformation(aid); + public EditorJson getEditors(@PathParam("aid")Integer aid) { + var animation = gallery.getAnimationInformation(aid); - if(atGallery != null){ + if(animation != null){ //指定作成のエディターを表示 - Collection editorList = atGallery.getEditors(); + Collection editorList = animation.getEditors(); return new EditorJson(editorList); }else{ //aid間違っている時のレスポンス