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 3a3b6cd..10fbc9b 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 @@ -45,7 +45,7 @@ var account = accounts.getAccountByUid(uid); var animation = gallery.getAnimationInformation(aid); if (account != null && animation != null && account.getToken().equals(token)) { - animation.restWorkToEditors(aid, uid); + animation.restWorkToEditors(account); } else { //ユーザーID、トークンが間違っている時のレスポンス throw new WebApplicationException(401);