fixed ambiguous type

This commit is contained in:
denisdulici
2020-02-22 00:30:45 +03:00
parent 89a0c23c95
commit 4337eab13e
3 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ class Transaction extends Model
return $query;
}
return $query->whereIn('type', (array) $types);
return $query->whereIn($this->table . '.type', (array) $types);
}
/**