Skip to content

Commit aeca8fc

Browse files
committed
Fix controller comments to match routes whose names have changed
1 parent 5610a75 commit aeca8fc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

server/express/src/controllers/movieController.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ export async function vectorSearchMovies(req: Request, res: Response): Promise<v
848848
}
849849

850850
/**
851-
* GET /api/movies/aggregations/comments
851+
* GET /api/movies/aggregations/reportingByComments
852852
*
853853
* Aggregate movies with their most recent comments.
854854
* Demonstrates MongoDB $lookup aggregation to join collections.
@@ -991,7 +991,7 @@ export async function getMoviesWithMostRecentComments(
991991
}
992992

993993
/**
994-
* GET /api/movies/aggregations/years
994+
* GET /api/movies/aggregations/reportingByYear
995995
*
996996
* Aggregate movies by year with statistics.
997997
* Demonstrates MongoDB $group aggregation for statistical calculations.
@@ -1091,7 +1091,7 @@ export async function getMoviesByYearWithStats(
10911091
}
10921092

10931093
/**
1094-
* GET /api/movies/aggregations/directors
1094+
* GET /api/movies/aggregations/reportingByDirectors
10951095
*
10961096
* Aggregate directors with the most movies.
10971097
* Demonstrates MongoDB $unwind and $group for array aggregation.

0 commit comments

Comments
 (0)