0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 22:22:42 +00:00

Fix error message

This commit is contained in:
G.Ambatte
2024-05-16 17:02:00 +12:00
parent 96b955f2fe
commit 4e11a0c737

View File

@@ -55,7 +55,7 @@ const api = {
stub = stub?.toObject();
if(stub?.lock && accessType != 'edit') {
throw { HBErrorCode: '100', code: stub.lock.code, message: stub.lock.message, brewId: stub.shareId, brewTitle: stub.title };
throw { HBErrorCode: '100', code: stub.lock.code, message: stub.lock.shareMessage, brewId: stub.shareId, brewTitle: stub.title };
}
// If there is a google id, try to find the google brew