Skip to content

Commit

Permalink
fix(tasks): small fix to onedrive upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Dec 28, 2023
1 parent 21c9c54 commit a4f7ffd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/tasks/src/queries/driveUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ export async function driveUpload({
const uploadSession = await axios.post(
`https://graph.microsoft.com/v1.0/drive/special/approot:/${fileName}.${ext}:/createUploadSession`,
JSON.stringify({
'@odata.type': 'microsoft.graph.driveItemUploadableProperties',
'@microsoft.graph.conflictBehavior': 'rename',
name: `${fileName}.${ext}`,
item: {
Expand Down

0 comments on commit a4f7ffd

Please sign in to comment.