mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
fix(scripts/client): fix wrong response format struct on promise reject
This commit is contained in:
1 parent
833d2f282b
commit
f9956a15a8
1 file changed
+1
-1
@@ -79,7 +79,7 @@ export const RegisterNuiProxy = (event: string) => {
|
||||
cb(res);
|
||||
} catch (e) {
|
||||
console.error('Error encountered while listening to resp. Error:', e);
|
||||
cb({ err: e });
|
||||
cb({ status: 'error' });
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user