Skip to content

Commit 3678958

Browse files
fix: AuthHeaderValue-not-comming-in-request (#1090)
2 parents 668041d + 828c630 commit 3678958

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/queue-manager/src/consumers/send-webhook-data.consumer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export class SendWebhookDataConsumer extends BaseConsumer {
188188
private async getInitialCachedData(_uploadId: string): Promise<SendWebhookCachedData> {
189189
// Get Upload Information
190190
const uploadata = await this.uploadRepository.getUploadProcessInformation(_uploadId);
191+
191192
if (uploadata?._allDataFileId) return null;
192193

193194
const userEmail = await this.uploadRepository.getUserEmailFromUploadId(_uploadId);
@@ -218,6 +219,7 @@ export class SendWebhookDataConsumer extends BaseConsumer {
218219
name: templateData.name,
219220
page: 1,
220221
authHeaderName: webhookDestination?.authHeaderName,
222+
authHeaderValue: uploadata.authHeaderValue,
221223
retryInterval: webhookDestination.retryInterval,
222224
retryCount: webhookDestination.retryCount,
223225
allDataFilePath: this.fileNameService.getAllJsonDataFilePath(_uploadId),

0 commit comments

Comments
 (0)