From 80b39b90c5504af44ed02cc39ea970e90cb42684 Mon Sep 17 00:00:00 2001 From: zhang Date: Thu, 28 Apr 2022 15:53:09 +0800 Subject: [PATCH] fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ced7e21..21a0931 100644 --- a/README.md +++ b/README.md @@ -148,9 +148,9 @@ Each user has a set of rooms associated with them. **Rooms** are sorted sets which contains messages where score is the timestamp for each message. Each room has a name associated with it. -- Rooms which user belongs too are stored at `user:{userId}:rooms` as a set of room ids. +- Rooms which user belongs to are stored at `user:{userId}:rooms` as a set of room ids. - - E.g `SADD user:Alex:rooms 1` + - E.g `SADD user:4:rooms 1` - Set room name: `SET room:{roomId}:name {name}` - E.g `SET room:1:name General`