From 2ce0735d24a5331146db1a230c65901813d064df Mon Sep 17 00:00:00 2001 From: Ankit Chaudhary <46367738+Ankitchaudharyy@users.noreply.github.com> Date: Wed, 21 Dec 2022 19:57:35 +0530 Subject: [PATCH] refactor: change variable name from 'servers' to 'channels' (#368) Co-authored-by: ankitchaudharyy-TW --- docs/lifecycle-events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/lifecycle-events.md b/docs/lifecycle-events.md index 16cdde5b6..2192bb8e3 100644 --- a/docs/lifecycle-events.md +++ b/docs/lifecycle-events.md @@ -52,7 +52,7 @@ The above example makes Glee fire the lifecycle event only if it's coming from t Additionally, you may want to restrict the lifecycle event by channel/topic. To do that, add a line like the following to your lifecycle file: ```js -export const servers = ['user/signedup'] +export const channels = ['user/signedup'] ``` -The above example makes Glee fire the lifecycle event only if the connection has the channel `user/signedup` listed as one of its channels. \ No newline at end of file +The above example makes Glee fire the lifecycle event only if the connection has the channel `user/signedup` listed as one of its channels.