Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OriginTrail Devnet Prerelease v6.5.1 Hotfix 2 #3252

Merged
merged 11 commits into from
Jul 19, 2024
Merged
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "origintrail_node",
"version": "6.5.1+hotfix.1",
"version": "6.5.1+hotfix.2",
"description": "OTNode V6",
"main": "index.js",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class ServiceAgreementRepository {
}

async getCountOfServiceAgreementsByBlockchainAndContract(blockchainId, contract) {
await this.model.count({
return this.model.count({
where: {
blockchainId,
assetStorageContractAddress: {
Expand All @@ -298,6 +298,7 @@ class ServiceAgreementRepository {
});
}

// Sequelize destroy method doesn't support limit
async removeServiceAgreementsByBlockchainAndContract(blockchainId, contract) {
const query = `
DELETE FROM service_agreement
Expand Down
Loading