Browse Source
Bugfix/move data from ArrayBuffer to node's Buffer
So that express understands it and sends it properly in the controller
pull/4154/head
Szymon Łągiewka
8 months ago
Failed to extract signature
1 changed files with
3 additions and
1 deletions
-
apps/api/src/app/logo/logo.service.ts
|
@ -51,6 +51,8 @@ export class LogoService { |
|
|
this.configurationService.get('REQUEST_TIMEOUT') |
|
|
this.configurationService.get('REQUEST_TIMEOUT') |
|
|
) |
|
|
) |
|
|
} |
|
|
} |
|
|
).then((res) => res.arrayBuffer()); |
|
|
) |
|
|
|
|
|
.then((res) => res.arrayBuffer()) |
|
|
|
|
|
.then((buffer) => Buffer.from(buffer)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|