Skip to content

Commit

Permalink
Set projectapikey with file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Boldizsar Mezei committed Nov 7, 2023
1 parent f9fd207 commit eead26e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/@api/file.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class FileApi {
formData.append('file', <Blob>item.postFile);
formData.append('member', memberId);
formData.append('uid', item.file.uid);
formData.append('projectApiKey', environment.build5Token);
const origin = environment.production ? BUILD5_PROD_ADDRESS_API : BUILD5_TEST_ADDRESS_API;
return this.httpClient
.post(origin + WEN_FUNC.uploadFile, formData)
Expand Down

0 comments on commit eead26e

Please sign in to comment.