0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

suggested changes 2

This commit is contained in:
Víctor Losada Hernández
2024-09-01 11:10:46 +02:00
parent c528c8639a
commit f0b447866c
4 changed files with 65 additions and 93 deletions

View File

@@ -76,7 +76,7 @@ const findBrews = async (req, res) => {
})
.catch((error) => {
console.error(error);
throw {...err, message: "Error finding brews in Vault search", HBErrorCode: '99'};
throw {...err, message: "Error finding brews in Vault search", HBErrorCode: 90};
});
};
@@ -109,7 +109,7 @@ const findTotal = async (req, res) => {
})
.catch((error) => {
console.error(error);
throw {...err, message: "Error finding brews in Vault search", HBErrorCode: '99'};
throw {...err, message: "Error finding brews in Vault search", HBErrorCode: 90};
});
};