REBELinBLUE\Deployer\Http\Controllers\Resources\NotificationController::update PHP Method

update() public method

Update the specified notification in storage.
public update ( $notification_id, StoreNotificationRequest $request ) : Model
$notification_id
$request REBELinBLUE\Deployer\Http\Requests\StoreNotificationRequest
return Illuminate\Database\Eloquent\Model
    public function update($notification_id, StoreNotificationRequest $request)
    {
        return $this->repository->updateById($request->only('name', 'channel', 'webhook', 'icon', 'failure_only'), $notification_id);
    }
NotificationController