mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	chore: lint
This commit is contained in:
		
							parent
							
								
									6c8f994e6f
								
							
						
					
					
						commit
						166a940f02
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -65,7 +65,7 @@ function onSignupEmailPending() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
function onApprovalPending() {
 | 
			
		||||
	dialog.close();
 | 
			
		||||
	dialog.value.close();
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -206,10 +206,10 @@ async function toggleSuspend(): Promise<void> {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
async function toggleNSFW(): Promise<void> {
 | 
			
		||||
	if (!instance) throw new Error('No instance?');
 | 
			
		||||
	if (!instance.value) throw new Error('No instance?');
 | 
			
		||||
	await os.api('admin/federation/update-instance', {
 | 
			
		||||
		host: instance.host,
 | 
			
		||||
		isNSFW: isNSFW,
 | 
			
		||||
		host: instance.value.host,
 | 
			
		||||
		isNSFW: isNSFW.value,
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue