fix: make query parameters consistent
This commit is contained in:
		
							parent
							
								
									f766a2054b
								
							
						
					
					
						commit
						27846a4fe4
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -65,7 +65,7 @@ export const actions = { | |||
| 		try { | ||||
| 			const resp = await apiRequest<{ url: string }>( | ||||
| 				"GET", | ||||
| 				`/auth/fediverse?instance=${encodeURIComponent(instance)}&forceRefresh=true`, | ||||
| 				`/auth/fediverse?instance=${encodeURIComponent(instance)}&force-refresh=true`, | ||||
| 				{ fetch, isInternal: true }, | ||||
| 			); | ||||
| 			redirect(303, resp.url); | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ export const actions = { | |||
| 
 | ||||
| 		const { url } = await apiRequest<{ url: string }>( | ||||
| 			"GET", | ||||
| 			`/auth/fediverse/add-account?instance=${encodeURIComponent(instance)}&forceRefresh=true`, | ||||
| 			`/auth/fediverse/add-account?instance=${encodeURIComponent(instance)}&force-refresh=true`, | ||||
| 			{ | ||||
| 				isInternal: true, | ||||
| 				fetch, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue