]> Untitled Git - lemmy.git/commitdiff
Fixing API doc issue.
authorDessalines <tyhou13@gmx.com>
Wed, 11 Sep 2019 21:13:38 +0000 (14:13 -0700)
committerDessalines <tyhou13@gmx.com>
Wed, 11 Sep 2019 21:13:38 +0000 (14:13 -0700)
docs/api.md

index 871b20e2051ddc8bdc4e61225a2b804ce3ae4db8..95ccd89e6d07584a12982f25d077c5736c2dca0c 100644 (file)
@@ -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