소스 검색

Update StatusLabelService, change config key

Daniel Supernault 4 년 전
부모
커밋
4abfe76a49
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 			];