瀏覽代碼

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)
 	public static function get(Status $status)
 	{
 	{
-		if(config('instance.label.covid') == false || !$status) {
+		if(config('instance.label.covid.enabled') == false || !$status) {
 			return [
 			return [
 				'covid' => false
 				'covid' => false
 			];
 			];