repo details page mostly working
This commit is contained in:
@@ -12,7 +12,7 @@ export async function bootstrapCSRF(): Promise<void> {
|
||||
}
|
||||
}
|
||||
|
||||
async function getCSRFToken(): Promise<string> {
|
||||
export async function getCSRFToken(): Promise<string> {
|
||||
if (csrfToken) return csrfToken
|
||||
await bootstrapCSRF()
|
||||
return csrfToken ?? ''
|
||||
|
||||
Reference in New Issue
Block a user