Skip to content

Commit 249cd73

Browse files
dawangkgithub-actions[bot]
authored andcommitted
Auto-formatted the code using Prettier
1 parent 2c64ce2 commit 249cd73

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

course-matrix/backend/src/constants/availableFunctions.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,11 @@ export const availableFunctions: AvailableFunctions = {
195195
try {
196196
// Extract event details and course information from the request
197197
const { name, semester, courses, restrictions } = args;
198-
if(name.length>=50){
199-
return {status: 400, error: "timetable title is over 50 characters long"};
198+
if (name.length >= 50) {
199+
return {
200+
status: 400,
201+
error: "timetable title is over 50 characters long",
202+
};
200203
}
201204

202205
const courseOfferingsList: OfferingList[] = [];

0 commit comments

Comments
 (0)