diff --git a/handler_sandbox.go b/handler_sandbox.go index b545afd..e76edec 100644 --- a/handler_sandbox.go +++ b/handler_sandbox.go @@ -17,12 +17,12 @@ func UploadImageToSandboxHandler(w http.ResponseWriter, r *http.Request, ps http r.ParseMultipartForm(0) - uuidObject, err := uuid.NewV4() + uid, err := uuid.NewV4() if err != nil { RespondInternalServerError(w, err) return } - imageId := uuidObject.String() + imageId := uid.String() file, _, err := r.FormFile("image") if err != nil {