Skip to content

Commit f849d9c

Browse files
committed
Fix login docs
1 parent bf1a512 commit f849d9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Drivers/JS/Reference/Database/DatabaseManipulation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ db.useBearerAuth("keyboardcat");
8686

8787
## database.login
8888

89-
`async database.login([username, [password]]): this`
89+
`async database.login([username, [password]]): string`
9090

9191
Validates the given database credentials and exchanges them for an
9292
authentication token, then uses the authentication token for future
93-
requests.
93+
requests and returns it.
9494

9595
**Arguments**
9696

0 commit comments

Comments
 (0)