| |
---|
| | if(invitedWork != null){ |
---|
| | invitedWork.setWork(); //招待されている作品を参加している作品へ状態変化 |
---|
| | |
---|
| | //作品のeditorsにユーザーを追加 |
---|
| | animation.restWorkToEditors(aid, invitedUid); |
---|
| | animation.restWorkToEditors(account); |
---|
| | }else{ |
---|
| | //作品に招待されていない場合のレスポンス |
---|
| | var response = Response.status(400).entity("作品に招待されていません"); |
---|
| | throw new WebApplicationException(response.build()); |
---|
| |
---|
| | |