-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update api key now uses userId #239
Conversation
Risk Level 3 - /home/runner/work/code-review-gpt/code-review-gpt/services/web-app/src/app/profile/page.tsx
Example code snippet for handling errors in try {
// API request code
} catch (error) {
console.error(\"Failed to getUser, due to the following error \", error);
setLoading(false);
} Example code snippet for using const parsedData = useMemo(() => {
try {
return JSON.parse(data);
} catch (error) {
console.error(\"Failed to parse user data\", error);
return null;
}
}, [data]); Risk Level 3 - /home/runner/work/code-review-gpt/code-review-gpt/services/web-app/src/pages/api/auth/[...nextauth].ts The risk score for this code change is 3. Risk Level 3 - /home/runner/work/code-review-gpt/code-review-gpt/services/web-app/functions/add-user/index.ts
🐛📚🚀 Powered by Code Review GPT |
Test results summary:✅ [PASS] - Test case: Bad variable name SUMMARY: ✅ PASS: 2 - Tests Powered by Code Review GPT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 small things! otherwise looks good!
services/web-app/src/app/icon.png
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we move this image?
console.log("user -> ", user); | ||
console.log("session -> ", session); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove pls!
No description provided.