This commit is contained in:
2026-02-01 00:55:33 +01:00
parent 4a9246be5e
commit 6d13611a16
80 changed files with 1965 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ const client = createDirectus(DIRECTUS_URL)
.with(authentication());
// Helper to authenticate if needed
async function ensureAuthenticated() {
export async function ensureAuthenticated() {
if (DIRECTUS_TOKEN) {
client.setToken(DIRECTUS_TOKEN);
return;