Skip to content

Commit

Permalink
Merge pull request #73 from GDSC-PKNU-21-22/fix/#72
Browse files Browse the repository at this point in the history
Fix: 학교 공지사항 처리 에러 해결
  • Loading branch information
pp449 authored Aug 9, 2023
2 parents 12a9609 + 22327b2 commit d67320b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/notice/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ router.get('/', async (req: Request, res: Response) => {
try {
const major = req.query.major as string;
let notices;
if (major === 'undefined') {
if (major === undefined) {
notices = await getSchoolNotices();
} else {
notices = await getNotices(major);
Expand Down

0 comments on commit d67320b

Please sign in to comment.