Skip to content

Commit e047215

Browse files
committed
fix: lint
1 parent afba495 commit e047215

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backend/api/routes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ func (u *UnixTime) UnmarshalJSON(b []byte) error {
2828
return nil
2929
}
3030
func (u UnixTime) MarshalJSON() ([]byte, error) {
31-
if u.Time.IsZero() {
31+
if u.Time.IsZero() { //nolint:all
3232
return []byte("0"), nil
3333
}
34-
return []byte(fmt.Sprintf("%d", u.Time.Unix())), nil
34+
return []byte(fmt.Sprintf("%d", u.Time.Unix())), nil //nolint:all
3535
}
3636

3737
type Shard struct {

0 commit comments

Comments
 (0)