fix: add Content-Type header to ensurePowerToolsTag POST request

This commit is contained in:
Varun committed 2026-04-03 20:12:53 +05:30
1 parent 4e867f7691
commit 8dbef1e1b1
1 file changed
+4 -1
+4 -1
View File
@@ -26,7 +26,10 @@ export const ensurePowerToolsTag = async (headers: HeadersRecord) => {
const createResponse = await fetch(`${ENV.IMMICH_URL}/api/tags`, {
method: "POST",
headers,
headers: {
...headers,
"Content-Type": "application/json",
},
body: JSON.stringify({ name: POWER_TOOLS_TAG_NAME }),
});