mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
refactor(nestjs): hook up new endpoints
This commit is contained in:
@@ -112,7 +112,7 @@ export function useVendor(id, props) {
|
||||
[t.VENDOR, id],
|
||||
{ method: 'get', url: `vendors/${id}` },
|
||||
{
|
||||
select: (res) => res.data.vendor,
|
||||
select: (res) => res.data,
|
||||
defaultData: {},
|
||||
...props,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user