File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const APP_COMMAND = "app command";
2020 * Responds to an ADDED_TO_SPACE event in Google Chat.
2121 * @param {Object } event the event object from Google Workspace Add On
2222 */
23- function onAddToSpace ( event ) {
23+ function onAddedToSpace ( event ) {
2424 return sendCreateMessageAction ( createCardMessage ( help ( APP_COMMAND ) ) ) ;
2525}
2626
@@ -51,7 +51,7 @@ function onAppCommand(event) {
5151 * Responds to a REMOVED_FROM_SPACE event in Google Chat.
5252 * @param {Object } event the event object from Google Workspace Add On
5353 */
54- function onRemoveFromSpace ( event ) {
54+ function onRemovedFromSpace ( event ) {
5555 const space = event . chat . removedFromSpacePayload . space ;
5656 console . info ( `Chat app removed from ${ ( space . name || "this chat" ) } ` ) ;
5757}
You can’t perform that action at this time.
0 commit comments