Skip to content

Commit

Permalink
add: route /admins/orders/:id/update-status
Browse files Browse the repository at this point in the history
  • Loading branch information
abbasfisal committed Nov 27, 2024
1 parent b1779d9 commit 9cfb084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/modules/admin/routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func SetAdminRoutes(r *gin.Engine, i18nBundle *i18n.Bundle) {
//order
authGrp.GET("/admins/orders", adminHlr.IndexOrders)
authGrp.GET("/admins/orders/:id/details", adminHlr.ShowOrder)
authGrp.POST("/admins/orders/:id/update-status", adminHlr.EditOrder)

}

Expand Down

0 comments on commit 9cfb084

Please sign in to comment.