summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app/handler/cvetool/state.go')
-rw-r--r--pkg/app/handler/cvetool/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/app/handler/cvetool/state.go b/pkg/app/handler/cvetool/state.go
index 608691c..8ff46cb 100644
--- a/pkg/app/handler/cvetool/state.go
+++ b/pkg/app/handler/cvetool/state.go
@@ -48,7 +48,7 @@ func ChangeState(w http.ResponseWriter, r *http.Request) {
return
}
- newComment, err := addNewCommment(id, user.Id, "Changed status to "+newState+": "+reason)
+ newComment, err := addNewCommment(id, user, "Changed status to "+newState+": "+reason)
if err != nil {
logger.Error.Println("Err")