Rename hybrid to managed

This commit is contained in:
Owen 2025-08-21 14:17:38 -07:00
parent 5ff5660db3
commit 60d8831399
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
17 changed files with 39 additions and 39 deletions

View file

@ -65,9 +65,9 @@ export async function validateResourceSessionToken(
token: string,
resourceId: number
): Promise<ResourceSessionValidationResult> {
if (config.isHybridMode()) {
if (config.isManagedMode()) {
try {
const response = await axios.post(`${config.getRawConfig().hybrid?.endpoint}/api/v1/hybrid/resource/${resourceId}/session/validate`, {
const response = await axios.post(`${config.getRawConfig().managed?.endpoint}/api/v1/hybrid/resource/${resourceId}/session/validate`, {
token: token
}, await tokenManager.getAuthHeader());
return response.data.data;