Browse Source

Refactoring

pull/4173/head
Thomas Kaul 8 months ago
parent
commit
72c15395ee
  1. 4
      apps/api/src/app/logo/logo.service.ts

4
apps/api/src/app/logo/logo.service.ts

@ -54,7 +54,9 @@ export class LogoService {
).then((res) => res.blob()); ).then((res) => res.blob());
return { return {
buffer: await blob.arrayBuffer().then((ab) => Buffer.from(ab)), buffer: await blob.arrayBuffer().then((arrayBuffer) => {
return Buffer.from(arrayBuffer);
}),
type: blob.type type: blob.type
}; };
} }

Loading…
Cancel
Save