Skip to content

Commit ca75ae3

Browse files
author
Enguerrand Pinot
committed
Fixed codec compilation
1 parent 7b386e6 commit ca75ae3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/codec/chain/beam/beam.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ export const BeamReview_BeamReviewMerchantReview = {
615615
}
616616
if (object.ratings !== undefined && object.ratings !== null) {
617617
Object.entries(object.ratings).forEach(([key, value]) => {
618-
message.ratings[key] = Long(value);
618+
message.ratings[key] = new Long(value as any);
619619
});
620620
}
621621
if (object.title !== undefined && object.title !== null) {
@@ -686,7 +686,7 @@ export const BeamReview_BeamReviewMerchantReview = {
686686
if (object.ratings !== undefined && object.ratings !== null) {
687687
Object.entries(object.ratings).forEach(([key, value]) => {
688688
if (value !== undefined) {
689-
message.ratings[key] = Long(value);
689+
message.ratings[key] = new Long(value as any);
690690
}
691691
});
692692
}
@@ -975,7 +975,7 @@ export const BeamReview_BeamReviewProductReview = {
975975
}
976976
if (object.ratings !== undefined && object.ratings !== null) {
977977
Object.entries(object.ratings).forEach(([key, value]) => {
978-
message.ratings[key] = Long(value);
978+
message.ratings[key] = new Long(value as any);
979979
});
980980
}
981981
if (object.title !== undefined && object.title !== null) {
@@ -1068,7 +1068,7 @@ export const BeamReview_BeamReviewProductReview = {
10681068
if (object.ratings !== undefined && object.ratings !== null) {
10691069
Object.entries(object.ratings).forEach(([key, value]) => {
10701070
if (value !== undefined) {
1071-
message.ratings[key] = Long(value);
1071+
message.ratings[key] = new Long(value as any);
10721072
}
10731073
});
10741074
}

0 commit comments

Comments
 (0)