Merge branch 'master' into experimentalEventStreamEmitter

This commit is contained in:
Víctor Losada Hernández authored and GitHub committed 2026-09-20 20:34:01 +02:00
commit 143ab31813
1 file changed
+1 -2
+1 -2
View File
@@ -170,8 +170,7 @@ const api = {
const googleBrew = await GoogleActions.getGoogleBrew(oAuth2Client, googleId, id, accessType)
.catch((googleError)=>{
const reason = googleError.errors?.[0].reason;
if(reason == 'notFound')
if(googleError.code === 404 || googleError.status === 404)
throw { ...googleError, HBErrorCode: '02', authors: stub?.authors, account: req.account?.username };
else
throw { ...googleError, HBErrorCode: '01' };