From 2e39075ad345bf0abfcff52f014825b2be47c5e1 Mon Sep 17 00:00:00 2001 From: Noah Ravaux Date: Sat, 30 Dec 2023 00:25:57 +0100 Subject: [PATCH] fix: routes --- src/api/api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/api.cpp b/src/api/api.cpp index f3d6687..5b6a221 100644 --- a/src/api/api.cpp +++ b/src/api/api.cpp @@ -32,8 +32,8 @@ namespace CUSubmitterService { Routes::Get(router, "/", Routes::bind(&Service::ready, this)); Routes::Post(router, "/chgen", Routes::bind(&Service::generateChangelog, this)); Routes::Post(router, "/transfer", Routes::bind(&Service::generateTransferChangelog, this)); - Routes::Get(router, "/transfer", Routes::bind(&Service::generateTransferChangelog, this)); - Routes::Get(router, "/transfer/changelog", Routes::bind(&Service::transfer, this)); + Routes::Get(router, "/transfer", Routes::bind(&Service::transfer, this)); + Routes::Get(router, "/transfer/changelog", Routes::bind(&Service::lastTransferChangelog, this)); Routes::Post(router, "/submit", Routes::bind(&Service::generateSubmissionChangelog, this)); Routes::Get(router, "/submit", Routes::bind(&Service::submit, this)); Routes::Get(router, "/submit/changelog", Routes::bind(&Service::lastSubmissionChangelog, this));