propro-utils 1.7.28 → 1.7.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -74,7 +74,7 @@ const authValidation = (requiredPermissions = []) => {
|
|
|
74
74
|
|
|
75
75
|
let user = null;
|
|
76
76
|
try {
|
|
77
|
-
user = await checkIfUserExists(
|
|
77
|
+
user = await checkIfUserExists(accountId);
|
|
78
78
|
if (!user) throw new Error('User not found');
|
|
79
79
|
} catch (error) {
|
|
80
80
|
console.log('User not found 1');
|