Fix: Import executeCommand from server.ts instead of client.ts

This commit is contained in:
cawcenter
2025-12-16 11:09:32 -05:00
parent 0f4330b7e1
commit 22515b83b1

View File

@@ -1,5 +1,5 @@
import type { APIRoute } from 'astro';
import { executeCommand } from '@/lib/directus/client';
import { executeCommand } from '@/lib/directus/server';
export const POST: APIRoute = async ({ request }) => {
// 1. Security (Token)