refactor
This commit is contained in:
parent
d336a1fb1c
commit
bf8636e516
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue