1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
cb26059e5d DOC-4423: add TCEs for various command pages (#2885)
* DOC-4423: add TCEs for various command pages

* fix problematic doctest

from redis docs for ACL DELUSER:
Delete all the specified ACL users and terminate all the connections
 that are authenticated with such users

Nodejs complains: Warning: Detected unsettled top-level await
which in turn gives the error code 13 in the workflow

await client.auth({ username: 'test-user' ...});
// deleting the user that is currently logged in -> bad
await client.sendCommand(['ACL', 'DELUSER', 'test-user']);
await client.quit()

fix: authenticate with the default user before deleting the test-user

---------

Co-authored-by: Nikolay Karadzhov <nkaradzhov89@gmail.com>
2025-04-22 15:50:35 +01:00
001087f520 Update cmds-hash.js (#2863)
Update comment-line (58) from `foo` to `null`
2024-11-13 14:57:37 -05:00
fd7b10be6c TCEs for select command pages (#2824)
* TCEs for select command pages

* Preemptive modifications from previous reviews

* Update to previous commit
2024-09-26 14:27:12 +03:00