Skip to content

Commit c34203d

Browse files
committed
Update version to 2.9.0 and format recipient handling in sendReminder function
1 parent 6742207 commit c34203d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Helpers/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2161,7 +2161,7 @@ public static function sendReminder($reminder, $method = 'auto')
21612161
'{kegiatan}' => $kegiatan->kegiatan,
21622162
'{pj}' => $kegiatan->daftar_kegiatanable_type == \App\Models\UnitKerja::class ? UnitKerja::find($kegiatan->daftar_kegiatanable_id)->unit : User::find($kegiatan->daftar_kegiatanable_id)->name,
21632163
]);
2164-
$recipients = implode(',',collect($kegiatan->wa_group_id)->pluck('id')->toArray());
2164+
$recipients = implode(',', collect($kegiatan->wa_group_id)->pluck('id')->toArray());
21652165
$response = Fonnte::make()->sendWhatsAppMessage($recipients, $pesan);
21662166
$reminder->status = $response['data']['process'] ?? 'Gagal';
21672167
$reminder->message_id = $response['data']['id'][0];

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@
9494
},
9595
"minimum-stability": "dev",
9696
"prefer-stable": true,
97-
"version": "2.8.3"
97+
"version": "2.9.0"
9898
}

0 commit comments

Comments
 (0)