From 240796b2d653394447bbc5506c1d6a9a66f199ef Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 21 Jul 2019 12:26:15 -0500 Subject: [PATCH] update doc with the current /config response document --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ce20cc89..48c823a1 100644 --- a/README.md +++ b/README.md @@ -624,17 +624,18 @@ Sort can be `time`, `active` or `score`. Supported sort order with prefix -/+, i ```go type Config struct { - Version string `json:"version"` - EditDuration int `json:"edit_duration"` - MaxCommentSize int `json:"max_comment_size"` - Admins []string `json:"admins"` - AdminEmail string `json:"admin_email"` - Auth []string `json:"auth_providers"` - LowScore int `json:"low_score"` - CriticalScore int `json:"critical_score"` - PositiveScore bool `json:"positive_score"` - ReadOnlyAge int `json:"readonly_age"` - MaxImageSize int `json:"max_image_size"` + Version string `json:"version"` + EditDuration int `json:"edit_duration"` + MaxCommentSize int `json:"max_comment_size"` + Admins []string `json:"admins"` + AdminEmail string `json:"admin_email"` + Auth []string `json:"auth_providers"` + LowScore int `json:"low_score"` + CriticalScore int `json:"critical_score"` + PositiveScore bool `json:"positive_score"` + ReadOnlyAge int `json:"readonly_age"` + MaxImageSize int `json:"max_image_size"` + EmojiEnabled bool `json:"emoji_enabled"` } ```