mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Make admin/update-remote-user public
This commit is contained in:
parent
fbc5c39777
commit
3658183b80
@ -162,7 +162,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
async updateRemoteUser() {
|
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();
|
this.refreshUser();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -10,10 +10,9 @@ export const meta = {
|
|||||||
'en-US': 'Update specified remote user information.'
|
'en-US': 'Update specified remote user information.'
|
||||||
},
|
},
|
||||||
|
|
||||||
tags: ['admin'],
|
tags: ['federation'],
|
||||||
|
|
||||||
requireCredential: true as const,
|
requireCredential: true as const,
|
||||||
requireModerator: true,
|
|
||||||
|
|
||||||
params: {
|
params: {
|
||||||
userId: {
|
userId: {
|
Loading…
Reference in New Issue
Block a user