summary refs log tree commit diff
diff options
context:
space:
mode:
authorSami Olmari <sami@olmari.fi>2022-04-25 15:39:15 +0300
committerGitHub <noreply@github.com>2022-04-25 12:39:15 +0000
commit813d728d09cb9e3b66ae49ee894814618db9774b (patch)
treee4505850d258e6e60f5634bd3fda234e14927c97
parentdisallow-untyped-defs in `docker` and `stubs` directories (#12528) (diff)
downloadsynapse-813d728d09cb9e3b66ae49ee894814618db9774b.tar.xz
Correct typo in user_admin_api.md device deletion JSON (#12533)
Signed-off-by: Sami Olmari <sami@olmari.fi>
-rw-r--r--changelog.d/12533.doc1
-rw-r--r--docs/admin_api/user_admin_api.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/12533.doc b/changelog.d/12533.doc
new file mode 100644
index 0000000000..2c15488111
--- /dev/null
+++ b/changelog.d/12533.doc
@@ -0,0 +1 @@
+Remove extraneous comma in User Admin API's device deletion section so that the example JSON is actually valid and works. Contributed by @olmari.
\ No newline at end of file
diff --git a/docs/admin_api/user_admin_api.md b/docs/admin_api/user_admin_api.md
index 4076fcab65..c8794299e7 100644
--- a/docs/admin_api/user_admin_api.md
+++ b/docs/admin_api/user_admin_api.md
@@ -804,7 +804,7 @@ POST /_synapse/admin/v2/users/<user_id>/delete_devices
   "devices": [
     "QBUAZIFURK",
     "AUIECTSRND"
-  ],
+  ]
 }
 ```