Skip to content

Commit

Permalink
Merge pull request #2 from cendekia/analysis-zDrJLL
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Cendekia Pramana Putra committed Jun 12, 2019
2 parents 7dcbc07 + bfbfd47 commit 6f91607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/faspay.php
Expand Up @@ -18,5 +18,5 @@
],
'notification_channel' => [
'slack' => env('SLACK_OPERATION_CHANNEL'),
]
],
];
3 changes: 2 additions & 1 deletion src/Http/Controllers/RecurringMemberController.php
Expand Up @@ -37,7 +37,8 @@ public function update(Request $request, $memberId)
return response()->json($memberUpdate);
}

private function sendUpdateRecurringStatus($data) {
private function sendUpdateRecurringStatus($data)
{
if ($data['recurring_status'] == 0) {
$class = config('faspay.notification_class.stop_recurring');
Notification::route('slack', config('faspay.notification_channel.slack'))->notify(new $class($data));
Expand Down

0 comments on commit 6f91607

Please sign in to comment.