mirror of
				https://github.com/D4M13N-D3V/neroshitron.git
				synced 2025-10-31 01:25: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 deleteGallery = async () => { | ||||||
|         const urlParams = new URLSearchParams(window.location.search); |         const urlParams = new URLSearchParams(window.location.search); | ||||||
|         const id = urlParams.get('id'); |         const id = urlParams.get('id'); | ||||||
|         const response = await fetch(`/api/gallery/admin/${id}`, { |         const response = await fetch(`/api/gallery/admin/${gallery.name}`, { | ||||||
|             method: 'DELETE', |             method: 'DELETE', | ||||||
|             headers: { |             headers: { | ||||||
|             'Content-Type': 'application/json' |             'Content-Type': 'application/json' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user