1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-29 07:18:52 +09:00

Make admin/update-remote-user public

This commit is contained in:
syuilo 2021-04-23 12:05:15 +09:00
parent e825d3be83
commit dfa341e1c0
2 changed files with 2 additions and 3 deletions

View File

@ -162,7 +162,7 @@ export default defineComponent({
},
async updateRemoteUser() {
await os.apiWithDialog('admin/update-remote-user', { userId: this.user.id });
await os.apiWithDialog('federation/update-remote-user', { userId: this.user.id });
this.refreshUser();
},

View File

@ -10,10 +10,9 @@ export const meta = {
'en-US': 'Update specified remote user information.'
},
tags: ['admin'],
tags: ['federation'],
requireCredential: true as const,
requireModerator: true,
params: {
userId: {