Skip to content

Commit

Permalink
Changed time for CourseAll and Professor. Attempted to test function.
Browse files Browse the repository at this point in the history
  • Loading branch information
armansarder committed Nov 8, 2024
1 parent db0e70f commit b4d3f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/course.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func CourseById(c *gin.Context) {
}

func CourseAll(c *gin.Context) {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)

var courses []schema.Course

Expand Down

0 comments on commit b4d3f90

Please sign in to comment.