Skip to content

Commit

Permalink
include network db
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Aug 29, 2024
1 parent f85ab6d commit b7fa169
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/api/v1/org/[orgid]/network/[nwid]/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,10 @@ export const GET_network = async (req: NextApiRequest, res: NextApiResponse) =>
networkId,
false,
);
return res.status(200).json(ztControllerResponse?.network);
return res.status(200).json({
...network,
...ztControllerResponse?.network,
});
} catch (cause) {
return handleApiErrors(cause, res);
}
Expand Down

0 comments on commit b7fa169

Please sign in to comment.