-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with notes being unimplemented. Use background tasks for sc…
…heduling whatsapp response - Need to use backgroundtasks because the webhook expects a response within a few seconds. If not delivered, it will keep resending until it's acked. This is problematic for queries taht take a longer response time. Hence, use bg tasks to schedule the work after returning a response to the API
- Loading branch information
Showing
2 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
} | ||
|
||
UNIMPLEMENTED_COMMANDS = { | ||
"/notes": "/notes", | ||
"/speak": "/speak", | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters