1
0
Fork 0
forked from forgejo/forgejo

minor fix on API response

This commit is contained in:
Unknwon 2015-08-19 20:08:57 +08:00
parent 2b393f5b03
commit 1453e91f41
5 changed files with 13 additions and 16 deletions

View file

@ -470,7 +470,7 @@ func trimCommitActionAppUrlPrefix(x *xorm.Engine) error {
if _, err = sess.Id(actID).Update(&Action{
Content: string(p),
}); err != nil {
return fmt.Errorf("update action[%s]: %v", actID, err)
return fmt.Errorf("update action[%d]: %v", actID, err)
}
}
return sess.Commit()