Skip to content

Commit d26a990

Browse files
feat: Commented code that passes uploadId and userId in bubble.io API response
1 parent b7067a2 commit d26a990

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

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

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,17 @@ export class SendBubbleDataConsumer extends BaseConsumer {
164164
Object.keys(extra).forEach((extraObjKey) => {
165165
defaultValueObj[`extra.${extraObjKey}`] = extra[extraObjKey];
166166
});
167-
if (uploadata.customRecordFormat && uploadata.customRecordFormat.includes('{{extra.uploadId}}')) {
168-
defaultValueObj['extra.uploadId'] = _uploadId;
169-
}
170-
171-
if (uploadata.customRecordFormat && uploadata.customRecordFormat.includes('{{extra.userId}}')) {
172-
defaultValueObj['extra.userId'] = await this.uploadRepository.getUserIdFromUploadId(_uploadId);
173-
}
167+
/*
168+
* if (uploadata.customRecordFormat && uploadata.customRecordFormat.includes('{{extra.uploadId}}')) {
169+
* defaultValueObj['extra.uploadId'] = _uploadId;
170+
* }
171+
*/
172+
173+
/*
174+
* if (uploadata.customRecordFormat && uploadata.customRecordFormat.includes('{{extra.userId}}')) {
175+
* defaultValueObj['extra.userId'] = await this.uploadRepository.getUserIdFromUploadId(_uploadId);
176+
* }
177+
*/
174178
} catch (error) {}
175179
}
176180

0 commit comments

Comments
 (0)