Skip to content

Commit ec55dbc

Browse files
authored
Update docs to match actual behaviour
It looks like updating the documentation was forgotten as part of Styria-Digital#80.
1 parent 4e8550e commit ec55dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ This setup is supported in this package using a verification endpoint. Add the f
160160
]
161161
```
162162

163-
Passing a token to the verification endpoint will return a 200 response and the token if it is valid. Otherwise, it will return a 400 Bad Request as well as an error identifying why the token was invalid.
163+
Passing a token to the verification endpoint will return a 201 response and the token if it is valid. Otherwise, it will return a 400 Bad Request as well as an error identifying why the token was invalid.
164164

165165
```bash
166166
$ curl -X POST -H "Content-Type: application/json" -d '{"token":"<EXISTING_TOKEN>"}' http://localhost:8000/api-token-verify/

0 commit comments

Comments
 (0)