Working on create resource

This commit is contained in:
Owen Schwartz
2024-10-19 17:28:46 -04:00
parent 091d649997
commit 1fd18a1ef9
2 changed files with 2 additions and 2 deletions

View File

@@ -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;