Browse Source

Update StatusLabelService, change config key

Daniel Supernault 4 năm trước cách đây
mục cha
commit
4abfe76a49
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 			];