Skip to content

Commit

Permalink
fix: chapel 편입 기반 파싱 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gahyuun committed Dec 22, 2024
1 parent 995f126 commit 41aa99c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/utils/parser/anonymous.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface AnonymousResultType {
graduationResult: {
chapelResult: {
takenCount: number;
complted: boolean;
completed: boolean;
takenChapelCredit: number;
};
detailGraduationResults: AreaType[];
Expand Down Expand Up @@ -83,9 +83,9 @@ export const parseCredit = ({ graduationResult }: AnonymousResultType): CreditRe
const additionalCredits: CreditResponse[] = [
{
category: 'CHAPEL',
totalCredit: 2,
takenCredit: graduationResult.chapelResult.takenCount * 0.5,
completed: graduationResult.chapelResult.takenCount * 0.5 >= 2.0,
totalCredit: graduationResult.chapelResult.takenCount * 0.5,
takenCredit: graduationResult.chapelResult.takenChapelCredit,
completed: graduationResult.chapelResult.completed,
},
{
category: 'NORMAL_CULTURE',
Expand Down

0 comments on commit 41aa99c

Please sign in to comment.