RocketChat/Apps.Github22

[BUG (style) ] remove unwanted await in sync operation and add required await

Nabhag8848 opened this issue · 0 comments

Description:

  • There are lot of places where there is await within the SYNC operation. specially when getting the userInfo, interactionData from context and creating the messageBuilder (textSender) which needs to be removed as await is only for async operation/ function-calls.
  • Similarly there are places where await are missing in async calls which needs to fix.

Steps to reproduce:

  1. look into file changes

Expected behavior:

  • remove await from sync and add missing await in async operation.