ロールのアサインAPIで有効期間が変わった場合は期限だけを更新するように (MisskeyIO#188)

This commit is contained in:
まっちゃとーにゅ
2023-10-19 06:19:04 +09:00
committed by GitHub
parent bcda871818
commit 9688704be6
3 changed files with 39 additions and 32 deletions

View File

@@ -29,6 +29,12 @@ export const meta = {
id: '558ea170-f653-4700-94d0-5a818371d0df',
},
alreadyAssigned: {
message: 'User is already assigned to this role.',
code: 'ALREADY_ASSIGNED',
id: '67d8689c-25c6-435f-8ced-631e4b81fce1',
},
accessDenied: {
message: 'Only administrators can edit members of the role.',
code: 'ACCESS_DENIED',

View File

@@ -30,7 +30,7 @@ export const meta = {
},
notAssigned: {
message: 'Not assigned.',
message: 'User was not assigned to this role.',
code: 'NOT_ASSIGNED',
id: 'b9060ac7-5c94-4da4-9f55-2047c953df44',
},