Skip to content

Commit 7a0df3d

Browse files
Update course-matrix/backend/src/constants/availableFunctions.ts
lol Co-authored-by: Kevin Lan <[email protected]>
1 parent da1f622 commit 7a0df3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ 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) {
198+
if (name.length > 50) {
199199
return {
200200
status: 400,
201201
error: "timetable title is over 50 characters long",

0 commit comments

Comments
 (0)