Fix registration not displaying #14

Merged
jacob1123 merged 5 commits from registration into master 2022-02-22 14:44:29 +01:00
4 changed files with 51 additions and 66 deletions
Showing only changes of commit 484b1062e1 - Show all commits

View File

@ -94,7 +94,7 @@ func (n Numeric) Add(other Numeric) Numeric {
func (n Numeric) MarshalJSON() ([]byte, error) {
if n.Int.Int64() == 0 {
return []byte("\"0\""), nil
return []byte("0"), nil
}
s := fmt.Sprintf("%d", n.Int)