Skip to content

Commit 346beac

Browse files
committed
fix: Make /problems GET endpoint
1 parent 562e173 commit 346beac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/kit/provideq/toolbox/api/ProblemRouter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ RouterFunction<ServerResponse> getProblemRoutes() {
5656
* Create operation: GET /problems.
5757
*/
5858
private RouterFunction<ServerResponse> defineListTypesRoute() {
59-
return route().POST(
59+
return route().GET(
6060
PROBLEMS_BASE_PATH,
6161
accept(APPLICATION_JSON),
6262
req -> handleListTypes(),

0 commit comments

Comments
 (0)