Skip to content

Commit

Permalink
change typecode from master to dto
Browse files Browse the repository at this point in the history
  • Loading branch information
Quang Quan committed Nov 28, 2024
1 parent 35eeb1d commit 19c2725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sequence/src/sequences.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class SequencesService implements ISequenceService {
const { date, rotateBy, tenantCode, params, typeCode } = dto

const generalMasterPk = masterPk(tenantCode)
const generalMasterSk = `SEQ${KEY_SEPARATOR}${params?.code1}`
const generalMasterSk = `SEQ${KEY_SEPARATOR}${typeCode}`
this.logger.log('general master pk: ', generalMasterPk)
this.logger.log('general master sk: ', generalMasterSk)
const masterData = await this.masterDataProvider.getData({
Expand Down

0 comments on commit 19c2725

Please sign in to comment.