mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
BC-17 feat: customer/vendor drawer of readonly details.
This commit is contained in:
@@ -202,7 +202,7 @@ export default class VendorsService {
|
||||
* @param {number} vendorId
|
||||
*/
|
||||
public async getVendor(tenantId: number, vendorId: number) {
|
||||
const vendor = this.contactService.getContact(tenantId, vendorId, 'vendor');
|
||||
const vendor = await this.contactService.getContact(tenantId, vendorId, 'vendor');
|
||||
|
||||
return this.vendorTransformer.transform(vendor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user