fix some bugs from accounting 8
This commit is contained in:
@@ -15,7 +15,7 @@ class AppNotificationController extends Controller
|
||||
{
|
||||
private function assertFeatureEnabled(): void
|
||||
{
|
||||
if (! app(ConfigService::class)->getBool('has_page_notification', false)) {
|
||||
if (! app(ConfigService::class)->getBool('has_page_notification', true)) {
|
||||
throw new NotFoundHttpException('اعلان داخل اپ غیرفعال است.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user