mirror of
				https://github.com/D4M13N-D3V/neroshitron.git
				synced 2025-10-30 17:15:35 +00:00 
			
		
		
		
	Update page.tsx
This commit is contained in:
		
							parent
							
								
									a6d050c35f
								
							
						
					
					
						commit
						96aeca6242
					
				| @ -107,7 +107,7 @@ function PageComponent() { | ||||
|     const deleteGallery = async () => { | ||||
|         const urlParams = new URLSearchParams(window.location.search); | ||||
|         const id = urlParams.get('id'); | ||||
|         const response = await fetch(`/api/gallery/admin/${id}`, { | ||||
|         const response = await fetch(`/api/gallery/admin/${gallery.name}`, { | ||||
|             method: 'DELETE', | ||||
|             headers: { | ||||
|             'Content-Type': 'application/json' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user