mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-26 23:06:37 +00:00
Working on create resource
This commit is contained in:
@@ -34,7 +34,7 @@ export default async function SettingsLayout({
|
||||
if (params.resourceId !== "create") {
|
||||
try {
|
||||
const res = await internal.get<AxiosResponse<GetResourceResponse>>(
|
||||
`/org/${params.orgId}/resource/${params.resourceId}`,
|
||||
`/resource/${params.resourceId}`,
|
||||
authCookieHeader(),
|
||||
);
|
||||
resource = res.data.data;
|
||||
|
||||
Reference in New Issue
Block a user