1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 11:46:16 +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
No known key found for this signature in database
GPG Key ID: 38009F0605051491

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))
}