Merge branch 'dev' into 6925-fix_translations
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-03-14 08:00:29 +00:00
commit 974c95b961
3 changed files with 15 additions and 5 deletions

View File

@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2414.01] - 2024-04-04
### Added
### Changed
### Fixed
## [2408.01] - 2024-02-22
### Added

View File

@ -30,9 +30,11 @@ module.exports = Self => {
});
function validateDistance(err) {
if (this.kmEnd) {
const routeTotalKm = this.kmEnd - this.kmStart;
const routeMaxKm = 4000;
if (routeTotalKm > routeMaxKm || this.kmStart > this.kmEnd)
err();
}
}
};

View File

@ -1,6 +1,6 @@
{
"name": "salix-back",
"version": "24.12.0",
"version": "24.14.0",
"author": "Verdnatura Levante SL",
"description": "Salix backend",
"license": "GPL-3.0",