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:
@@ -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};
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user