fix item type scope

This commit is contained in:
Cihan Şentürk 2023-06-04 18:01:59 +03:00 committed by GitHub
parent 1093aefa03
commit badeb55801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ class Item extends Model
return $query;
}
return $query->whereIn($this->qualifyColumn('type'), $type);
return $query->where($this->qualifyColumn('type'), $type);
}
/**