Skip to content

Commit

Permalink
Merge pull request #117 from Cerebellum-Network/hotfix/0.24.3
Browse files Browse the repository at this point in the history
Add "next" to fix next is not defined error
  • Loading branch information
DmitriyMolch authored Jan 16, 2023
2 parents cfed8c4 + 838bc81 commit 86f7ed6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## vNext
- ...

## v0.24.3
- [BE] Add missing `next` functions to prevent Stats API crash

## v0.24.2
- [BE] Fix memory leak issue

Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api",
"version": "0.24.2",
"version": "0.24.3",
"description": "PolkaStats API",
"author": "Mario Pino Uceda",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions api/src/services/healthService.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async function checkBlockchainHealth(req, res, next) {
}
}

async function checkBlockchainBlocksFinalization(req, res) {
async function checkBlockchainBlocksFinalization(req, res, next) {
try {
const { query } = req;
let networks = splitParams(query.networks);
Expand Down Expand Up @@ -167,7 +167,7 @@ async function checkBlockchainBlocksFinalization(req, res) {
}
}

async function checkBlockchainBlocksProducing(req, res) {
async function checkBlockchainBlocksProducing(req, res, next) {
try {
const { query } = req;
let networks = splitParams(query.networks);
Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backend",
"version": "0.24.2",
"version": "0.24.3",
"description": "PolkaStats NG Backend",
"author": "Mario Pino Uceda",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "0.24.2",
"version": "0.24.3",
"description": "PolkaStats NG frontend",
"author": "Mario Pino Uceda",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "cerestats",
"version": "0.24.2",
"version": "0.24.3",
"description": "Cere Stats mono repo",
"repository": {
"type": "git",
Expand Down

0 comments on commit 86f7ed6

Please sign in to comment.