Skip to content

Commit 0c7652e

Browse files
authored
remove trailing commas from curl json (#119)
1 parent 1284cb7 commit 0c7652e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/bot/setup_draupnir_account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ and CLIENT_BASE_URL with the information gathered prior.
153153
curl -XPOST --json '{
154154
"identifier": { "type": "m.id.user", "user": "DRAUPNIR_LOCALPART" },
155155
"password": "DRAUPNIR_USER_PASSWORD",
156-
"type": "m.login.password",
156+
"type": "m.login.password"
157157
}' 'CLIENT_BASE_URL/_matrix/client/v3/login'
158158
```
159159

@@ -163,7 +163,7 @@ So that it should look like this:
163163
curl -XPOST --json '{
164164
"identifier": { "type": "m.id.user", "user": "draupnir" },
165165
"password": "********",
166-
"type": "m.login.password",
166+
"type": "m.login.password"
167167
}' 'https://matrix-client.example.com/_matrix/client/v3/login'
168168
```
169169

0 commit comments

Comments
 (0)