diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-02-16 15:13:53 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-02-16 15:13:53 +0700 |
| commit | dc44e019784e18f34bb84a86640793efd3daca17 (patch) | |
| tree | 2e4fba233e7762e1d8e2f780ef63adfdb175e6ae /indoteknik_api/controllers/api_v1 | |
| parent | aeb50c4ede78b7f101c5ccf7a63a2fb81ec3aae0 (diff) | |
bug fix wati
Diffstat (limited to 'indoteknik_api/controllers/api_v1')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/wati.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/wati.py b/indoteknik_api/controllers/api_v1/wati.py index 01b32653..68ff1640 100644 --- a/indoteknik_api/controllers/api_v1/wati.py +++ b/indoteknik_api/controllers/api_v1/wati.py @@ -13,7 +13,8 @@ class Wati(controller.Controller): json_dump = json.dumps(json_raw, indent=4, sort_keys=True) request.env['wati.notification'].create([{ - 'json_raw': json_dump + 'json_raw': json_dump, + 'is_lead': False }]) return |
