Skip to content

Commit

Permalink
fix config required fields
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed Jan 31, 2022
1 parent 6c2f43e commit 4750516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ type Log struct {
}

type Ratelimit struct {
Burst int `config:"api.ws.ratelimit.burst,required" json:"burst" yaml:"burst"`
LimitSeconds int `config:"api.ws.ratelimit.limitseconds,required" json:"limitseconds" yaml:"limitseconds"`
Burst int `config:"api.ws.ratelimit.burst" json:"burst" yaml:"burst"`
LimitSeconds int `config:"api.ws.ratelimit.limitseconds" json:"limitseconds" yaml:"limitseconds"`
}

type WebSocket struct {
Expand Down

0 comments on commit 4750516

Please sign in to comment.