From 1593ee8449ea20149ef0ca1d7b899fa7bb7139f0 Mon Sep 17 00:00:00 2001 From: DexterPOSH Date: Tue, 20 Aug 2019 09:30:36 +0530 Subject: [PATCH] Fixes typo in the Controller annotation for Get method --- controllers/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/order.go b/controllers/order.go index eb8be54c..23a23bcc 100644 --- a/controllers/order.go +++ b/controllers/order.go @@ -94,7 +94,7 @@ func (this *OrderController) Post() { // @Description Capture order GET // @Success 200 {string} count of orders in the database // @Failure 403 body is empty -// @router / [post] +// @router / [get] func (this *OrderController) Get() { var ob models.Order