Explorar o código

Update StatusLabelService, change config key

Daniel Supernault %!s(int64=4) %!d(string=hai) anos
pai
achega
4abfe76a49
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/StatusLabelService.php

+ 1 - 1
app/Services/StatusLabelService.php

@@ -12,7 +12,7 @@ class StatusLabelService
 
 	public static function get(Status $status)
 	{
-		if(config('instance.label.covid') == false || !$status) {
+		if(config('instance.label.covid.enabled') == false || !$status) {
 			return [
 				'covid' => false
 			];