mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
Implemented User Badge Management Interface (#29798)
Co-authored-by: Diogo Vicente <diogo.m.s.vicente@tecnico.ulisboa.pt>
This commit is contained in:
committed by
Henrique Pimentel
co-authored by
Diogo Vicente
parent
8b86c3140a
commit
f68e44daed
@@ -141,7 +141,7 @@ func IsErrBadgeNotExist(err error) bool {
|
||||
}
|
||||
|
||||
func (err ErrBadgeNotExist) Error() string {
|
||||
return fmt.Sprintf("badge does not exist [slug: %s | id: %i]", err.Slug, err.ID)
|
||||
return fmt.Sprintf("badge does not exist [slug: %s | id: %d]", err.Slug, err.ID)
|
||||
}
|
||||
|
||||
// Unwrap unwraps this error as a ErrNotExist error
|
||||
|
||||
Reference in New Issue
Block a user