Pass Slip and Leave approval/rejection push notifications
This commit is contained in:
@@ -264,7 +264,8 @@ class NotificationsController {
|
||||
'data': data ?? {},
|
||||
};
|
||||
|
||||
await _client.functions.invoke('send_fcm', body: bodyPayload);
|
||||
final res = await _client.functions.invoke('send_fcm', body: bodyPayload);
|
||||
debugPrint('send_fcm result: $res');
|
||||
} catch (err) {
|
||||
debugPrint('sendPush invocation error: $err');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user