forked from mirrors/misskey
refactor
This commit is contained in:
@@ -41,7 +41,7 @@ async function addRelay() {
|
|||||||
type: 'url',
|
type: 'url',
|
||||||
placeholder: i18n.ts.inboxUrl,
|
placeholder: i18n.ts.inboxUrl,
|
||||||
});
|
});
|
||||||
if (canceled) return;
|
if (canceled || inbox == null) return;
|
||||||
misskeyApi('admin/relays/add', {
|
misskeyApi('admin/relays/add', {
|
||||||
inbox,
|
inbox,
|
||||||
}).then((relay: any) => {
|
}).then((relay: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user