Skip to content

Commit

Permalink
Merge pull request #92 from PoolC/dev
Browse files Browse the repository at this point in the history
fix: accept text/plain when upload file
  • Loading branch information
jinoov authored May 19, 2024
2 parents a879305 + aaaf71e commit f8ca21e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/web-client/src/lib/api-v2/customApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export class CustomApi {
method: 'POST',
url: '/files',
formData: { file },
headers: {
Accept: 'text/plain;charset=UTF-8',
},
});
}
}

0 comments on commit f8ca21e

Please sign in to comment.