mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat(server): endpoints swagger docs
This commit is contained in:
@@ -43,7 +43,7 @@ export function useCurrentOrganization(props) {
|
||||
[t.ORGANIZATION_CURRENT],
|
||||
{ method: 'get', url: OrganizationRoute.Current },
|
||||
{
|
||||
select: (res) => res.data.organization,
|
||||
select: (res) => res.data,
|
||||
defaultData: {},
|
||||
onSuccess: (data) => {
|
||||
const organization = omit(data, ['subscriptions']);
|
||||
|
||||
Reference in New Issue
Block a user