Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Update v1_ctrl_labelmaker.go

Adarsh Pyarelale7f1b6ee2c23
diff --git a/backend/app/api/handlers/v1/v1_ctrl_labelmaker.go b/backend/app/api/handlers/v1/v1_ctrl_labelmaker.go
index 91f47492..3f96fff2 100644
--- a/backend/app/api/handlers/v1/v1_ctrl_labelmaker.go
+++ b/backend/app/api/handlers/v1/v1_ctrl_labelmaker.go
@@ -103,7 +103,7 @@ func (ctrl *V1Controller) HandleGetItemLabel() errchain.HandlerFunc {
// @Param id path string true "Asset ID"
// @Param print query bool false "Print this label, defaults to false"
// @Success 200 {string} string "image/png"
-// @Router /v1/labelmaker/assets/{id} [GET]
+// @Router /v1/labelmaker/asset/{id} [GET]
// @Security Bearer
func (ctrl *V1Controller) HandleGetAssetLabel() errchain.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) error {