changing back to download

tokens are no longer used here
This commit is contained in:
Marek Maslowski 2026-04-04 19:56:02 +02:00 committed by GitHub
parent 2baf407809
commit 554a7d7530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
export async function getAuthUrl(url: string, purpose: string): Promise<string> {
export async function getAuthUrl(url: string, purpose: 'download'): Promise<string> {
if (!url) return url
try {
const resp = await fetch('/api/auth/resource-token', {