-
Notifications
You must be signed in to change notification settings - Fork 0
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
スコア算出のリファクタリング #64
スコア算出のリファクタリング #64
Conversation
const assignment = await prisma.assignment.findFirst({ | ||
where: { id: assignmentId }, |
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.
ここで取ってくる課題が違ったので修正
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
User description
概要
PR Type
enhancement
Description
scoreRegister
function has been refactored to include anassignmentId
parameter, enhancing the score calculation logic.assignmentDate
function now requires anassignmentId
parameter to fetch the assignment date.Changes walkthrough 📝
route.ts
Update function call to include assignmentId parameter
app/src/app/api/minio/route.ts
scoreRegister
function now takes an additionalassignmentId
parameter.scoreRegister.ts
Refactor score calculation with assignmentId parameter
app/src/functions/scoreRegister.ts
assignmentDate
function now requiresassignmentId
parameter.scoreRegister
function updated to acceptassignmentId
parameter.