File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,13 @@ export class SupplierConfigRepository {
112112 KeyConditionExpression : "#pk = :pk AND #packSpecId = :packSpecId" ,
113113 FilterExpression : "#status = :status AND #approval = :approval" ,
114114 ExpressionAttributeNames : {
115- "#pk" : "PK " ,
115+ "#pk" : "pk " ,
116116 "#packSpecId" : "packSpecificationId" ,
117117 "#status" : "status" ,
118118 "#approval" : "approval" ,
119119 } ,
120120 ExpressionAttributeValues : {
121- ":pk" : "SUPPLIER_PACK " ,
121+ ":pk" : "#Entity#supplier-pack " ,
122122 ":packSpecId" : packSpecId ,
123123 ":status" : "PROD" ,
124124 ":approval" : "APPROVED" ,
@@ -133,7 +133,7 @@ export class SupplierConfigRepository {
133133 const result = await this . ddbClient . send (
134134 new GetCommand ( {
135135 TableName : this . config . supplierConfigTableName ,
136- Key : { PK : "PACK_SPECIFICATION " , SK : packSpecId } ,
136+ Key : { pk : "ENTITY#pack_specification " , sk : `ID# ${ packSpecId } ` } ,
137137 } ) ,
138138 ) ;
139139 if ( ! result . Item ) {
You can’t perform that action at this time.
0 commit comments