mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
refactor(nestjs): list resources
This commit is contained in:
@@ -79,10 +79,10 @@ export class VendorsApplication {
|
||||
|
||||
/**
|
||||
* Retrieves the vendors paginated list.
|
||||
* @param {IVendorsFilter} filterDTO
|
||||
* @param {Partial<IVendorsFilter>} filterDTO
|
||||
* @returns {Promise<{ vendors: Vendor[], pagination: IPaginationMeta, filterMeta: IFilterMeta }>>}
|
||||
*/
|
||||
public getVendors(filterDTO: IVendorsFilter) {
|
||||
public getVendors(filterDTO: Partial<IVendorsFilter>) {
|
||||
return this.getVendorsService.getVendorsList(filterDTO);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user