refs #4975 Return JSON {version:xxx}
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2023-01-05 14:20:47 +01:00
parent 5a25b0ef4c
commit 2803de9445
1 changed files with 6 additions and 1 deletions

View File

@ -36,6 +36,11 @@ module.exports = Self => {
if (mdb.version > maxNumber)
maxNumber = mdb.version;
}
return maxNumber;
let response = {
version: maxNumber
};
return response;
};
};