Update: 2026-06-25 02:28:33
This commit is contained in:
@@ -304,7 +304,8 @@ class CRUD {
|
||||
Future sendWhatsAppAuth(String to, String token) async {
|
||||
var res = await CRUD()
|
||||
.get(link: AppLink.getApiKey, payload: {'keyName': 'whatsapp_key'});
|
||||
var accesstoken = jsonDecode(res)['message']['whatsapp_key'];
|
||||
if (res is! Map) return;
|
||||
var accesstoken = res['message']['whatsapp_key'];
|
||||
var headers = {
|
||||
'Authorization': 'Bearer $accesstoken',
|
||||
'Content-Type': 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user