diff options
author | Theia Henderson | 2022-08-05 15:54:09 -0400 |
---|---|---|
committer | GitHub | 2022-08-05 15:54:09 -0400 |
commit | 94f6e68e00eeed3da9accc5485947c66cc403072 (patch) | |
tree | d7083cf3e7c8e73c155a2cb86902532f0b3ecf57 | |
parent | d724b52c8e8cafae50404c77057828f864b12e1f (diff) |
Update README.md
-rw-r--r-- | README.md | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -26,12 +26,8 @@ const queryID = await graffiti.subscribe({ // And then unsubscribe to those queries await graffiti.unsubscribe(queryID) -// You can log in and out and check your logged-in status -graffiti.logIn() -graffiti.logOut() -if (graffiti.loggedIn) { - // ... -} +// You can toggle logging in and out +graffiti.toggleLogIn() // When you are logged in you can reference your user ID console.log(graffiti.myID) |