1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-08-31 18:08:05 +00:00

Simplify commit message a bit

This commit is contained in:
handlerug
2021-06-14 14:37:30 +07:00
parent b39f3e0862
commit 0ffc1a05fe

View File

@@ -28,7 +28,7 @@ func UploadText(h *hyphae.Hypha, data []byte, message string, u *user.User) (hop
if message == "" {
hop.WithMsg(fmt.Sprintf("%s %s", action, h.Name))
} else {
hop.WithMsg(fmt.Sprintf("%s %s with message: %s", action, h.Name, message))
hop.WithMsg(fmt.Sprintf("%s %s: %s", action, h.Name, message))
}