fix: update Dropbox file path to correct location

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Vidal Wolf
2026-04-10 11:51:41 +02:00
co-authored by Claude Sonnet 4.6
parent 1bff4f11a6
commit a92e136372
+2 -2
View File
@@ -37,7 +37,7 @@ export default async function handler(req, res) {
'Authorization': `Bearer ${accessToken}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ path: '/Data-Matrix.xlsx' })
body: JSON.stringify({ path: '/CRAZE GmbH/Sales Reports/Data Matrix.xlsx' })
});
const data = await fileInfo.json();
return res.json({ rev: data.rev, size: data.size, server_modified: data.server_modified });
@@ -51,7 +51,7 @@ export default async function handler(req, res) {
method: 'POST',
headers: {
'Authorization': `Bearer ${accessToken}`,
'Dropbox-API-Arg': JSON.stringify({ path: '/Data-Matrix.xlsx' })
'Dropbox-API-Arg': JSON.stringify({ path: '/CRAZE GmbH/Sales Reports/Data Matrix.xlsx' })
}
});