Skip to content

Commit c8c0db6

Browse files
Address PR Comments
1 parent ade768d commit c8c0db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/serverModel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export interface IProductV2DTO {
110110
ps: number;
111111
cc: string | number;
112112
tpa: number;
113-
attrs: Record<string, string> | null;
113+
attrs: Dictionary<string> | null;
114114
}
115115

116116
export interface IPromotionV2DTO {
@@ -181,7 +181,7 @@ function convertProductToV2DTO(product: SDKProduct): IProductV2DTO {
181181
ps: parseNumber(product.Position),
182182
cc: parseStringOrNumber(product.CouponCode),
183183
tpa: parseNumber(product.TotalAmount),
184-
attrs: product.Attributes as Record<string, string> | null,
184+
attrs: product.Attributes as Dictionary<string> | null,
185185
};
186186
}
187187

0 commit comments

Comments
 (0)