Skip to content

Commit

Permalink
fix: deserialize header key
Browse files Browse the repository at this point in the history
  • Loading branch information
jcy0308 committed Aug 30, 2024
1 parent 65011c7 commit 0d155a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kafka/kafka.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class KafkaService implements OnModuleInit, OnModuleDestroy {
const pdf = await this.puppeteerService.generatePDF(htmlContent);
console.log(message.headers.uuid, typeof message.headers.uuid);
await this.minioService.uploadPdf(
message.headers.uuid,
message.headers.uuid.toString(),
Buffer.from(pdf),
message.headers,
);
Expand Down

0 comments on commit 0d155a7

Please sign in to comment.