fix callback for dropbox

This commit is contained in:
fyears
2024-01-13 16:47:55 +08:00
parent 87d6e1f75f
commit a6b73bde6a
3 changed files with 12 additions and 9 deletions
+3 -1
View File
@@ -231,7 +231,9 @@ export const sendAuthReq = async (
return resp2;
} catch (e) {
log.error(e);
await errorCallBack(e);
if (errorCallBack !== undefined) {
await errorCallBack(e);
}
}
};