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