Skip to content

Commit

Permalink
Endpoint: Compatibility with FlashMessageSuccess
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Oct 29, 2022
1 parent 791b861 commit 6555ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cms/CmsCountryEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function postSetActive(int $id): void
$this->countryManagerAccessor->get()->setActive($country, !$country->isActive());
$this->flashMessage(
sprintf('Country has been marked as %s.', $country->isActive() ? 'active' : 'hidden'),
self::FLASH_MESSAGE_SUCCESS,
self::FlashMessageSuccess,
);
$this->sendOk();
}
Expand Down

0 comments on commit 6555ce4

Please sign in to comment.