diff options
Diffstat (limited to 'web/service/outbound.go')
| -rw-r--r-- | web/service/outbound.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/service/outbound.go b/web/service/outbound.go index 3b432228..506cf618 100644 --- a/web/service/outbound.go +++ b/web/service/outbound.go @@ -89,7 +89,7 @@ func (s *OutboundService) ResetOutboundTraffic(tag string) error { result := db.Model(model.OutboundTraffics{}). Where(whereText, tag). - Updates(map[string]interface{}{"up": 0, "down": 0, "total": 0}) + Updates(map[string]any{"up": 0, "down": 0, "total": 0}) err := result.Error if err != nil { |
