backend: fix typo in MEET_AZURE_SUBCONTAINER_NAME

This commit is contained in:
juancarmore 2025-09-23 13:52:55 +02:00
parent 5aa83d9bfd
commit f83c1ac2e4
2 changed files with 6 additions and 4 deletions

View File

@ -64,7 +64,7 @@ export const {
//Azure Blob storage configuration
MEET_AZURE_CONTAINER_NAME = 'openvidu-appdata',
MEET_AZURE_SUBCONATAINER_NAME = 'openvidu-meet',
MEET_AZURE_SUBCONTAINER_NAME = 'openvidu-meet',
MEET_AZURE_ACCOUNT_NAME = '',
MEET_AZURE_ACCOUNT_KEY = '',

View File

@ -11,7 +11,7 @@ import {
MEET_AZURE_ACCOUNT_KEY,
MEET_AZURE_ACCOUNT_NAME,
MEET_AZURE_CONTAINER_NAME,
MEET_AZURE_SUBCONATAINER_NAME
MEET_AZURE_SUBCONTAINER_NAME
} from '../../../../environment.js';
import { errorAzureNotAvailable, internalError } from '../../../../models/error.model.js';
import { LoggerService } from '../../../index.js';
@ -279,7 +279,7 @@ export class ABSService {
}
protected getFullKey(name: string): string {
const prefix = `${MEET_AZURE_SUBCONATAINER_NAME}`;
const prefix = `${MEET_AZURE_SUBCONTAINER_NAME}`;
if (name.startsWith(prefix)) {
return name;
@ -298,7 +298,9 @@ export class ABSService {
const exists = await this.containerClient.exists();
if (exists) {
this.logger.verbose(`ABS health check: service accessible and container '${MEET_AZURE_CONTAINER_NAME}' exists`);
this.logger.verbose(
`ABS health check: service accessible and container '${MEET_AZURE_CONTAINER_NAME}' exists`
);
return { accessible: true, containerExists: true };
} else {
this.logger.error(`ABS container '${MEET_AZURE_CONTAINER_NAME}' does not exist`);