You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"action": "Please use a valid API key or regenerate a new one from the dashboard."
24
+
if(!project){
25
+
returnres.status(401).json({
26
+
error: "API key is expired or invalid.",
27
+
action: "Please use a valid API key or regenerate a new one from the dashboard."
28
+
});
19
29
}
20
-
);
21
30
22
-
if(!project.owner.isVerified)returnres.status(401).json({error: 'Owner not verified',fix: 'Verify your account on https://urbackend.bitbros.in/dashboard'});
31
+
awaitsetProjectByApiKeyCache(hashedApi,project);
32
+
}
33
+
34
+
if(!project.owner.isVerified){
35
+
returnres.status(401).json({
36
+
error: 'Owner not verified',
37
+
fix: 'Verify your account on https://urbackend.bitbros.in/dashboard'
0 commit comments