Skip to content

Commit

Permalink
fix(models): message_limit is an int
Browse files Browse the repository at this point in the history
  • Loading branch information
ooliver1 committed Aug 10, 2023
1 parent 3c67284 commit 5f0034e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/instance_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type InstanceInfo struct {
// The version of the connected Eludris instance.
Version string `json:"version"`
// The maximum allowed message content length.
MessageLimit string `json:"message_limit"`
MessageLimit int `json:"message_limit"`
// The url to this instance's REST api.
OprishUrl string `json:"oprish_url"`
// The url to this instance's gateway.
Expand Down

0 comments on commit 5f0034e

Please sign in to comment.