Skip to content

Commit 6b260e7

Browse files
authored
Merge pull request #300 from hypercerts-org/develop
Deploy to PROD
2 parents e6e2847 + 5fd40e9 commit 6b260e7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/services/database/entities/CollectionEntityService.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,13 @@ export class CollectionService {
170170
"users.avatar",
171171
])
172172
.where("collection_admins.collection_id", "=", collectionId)
173-
.execute();
173+
.execute()
174+
.then((res) =>
175+
res.map((x) => ({
176+
...x,
177+
chain_id: Number(x.chain_id),
178+
})),
179+
);
174180
}
175181

176182
/**

0 commit comments

Comments
 (0)