Merge pull request #1586 from Pallavikumarimdb/fix/resource-auth-param-handling

Fix resource auth API call to use resourceGuid instead of resourceid
This commit is contained in:
Milo Schwartz
2025-09-29 12:53:41 -04:00
committed by GitHub

View File

@@ -46,7 +46,7 @@ export default async function ResourceLayout(props: ResourceLayoutProps) {
try {
const res = await internal.get<
AxiosResponse<GetResourceAuthInfoResponse>
>(`/resource/${resource.resourceId}/auth`, await authCookieHeader());
>(`/resource/${resource.resourceGuid}/auth`, await authCookieHeader());
authInfo = res.data.data;
} catch {
redirect(`/${params.orgId}/settings/resources`);