fix: add return statement & delete fmt Errorf with piece
This commit is contained in:
@@ -63,6 +63,7 @@ func main() {
|
||||
{
|
||||
admin.POST("/register", handlers.RegisterAdmin)
|
||||
admin.GET("/orders", handlers.GetAllOrders)
|
||||
admin.PATCH("/orders/:id", handlers.UpdateOrderStatus)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user