mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-09 09:29:43 +00:00
use resourceGuid instead of resourceid
This commit is contained in:
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user