mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 11:35:24 +02:00
fix: update Dropbox file path to correct location
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
1bff4f11a6
commit
a92e136372
@@ -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' })
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user