Implemented User Badge Management Interface (#29798)

Co-authored-by: Diogo Vicente <diogo.m.s.vicente@tecnico.ulisboa.pt>
This commit is contained in:
Henrique Pimentel
2024-06-19 13:53:18 +01:00
committed by Henrique Pimentel
co-authored by Diogo Vicente
parent 8b86c3140a
commit f68e44daed
9 changed files with 156 additions and 18 deletions
+1 -1
View File
@@ -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