From: Dessalines Date: Wed, 11 Sep 2019 21:13:38 +0000 (-0700) Subject: Fixing API doc issue. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/readmes/%7B%7D/%22%7Burl%7D/%7BelementUrl%7D?a=commitdiff_plain;h=0eb7d6c30487b383720d8e0aa417926a37df3aef;p=lemmy.git Fixing API doc issue. --- diff --git a/docs/api.md b/docs/api.md index 871b20e2..95ccd89e 100644 --- a/docs/api.md +++ b/docs/api.md @@ -146,8 +146,11 @@ Only the first user will be able to be the admin. ##### Request ```rust { - show_nsfw: bool, - auth: String, + op: "SaveUserSettings", + data: { + show_nsfw: bool, + auth: String + } } ``` ##### Response