From 076a5265711d567a8a2c58ca9b141e3fadf13932 Mon Sep 17 00:00:00 2001 From: Conrad Hofmeyr Date: Tue, 26 Aug 2025 12:58:19 -0500 Subject: [PATCH] priveledge -> privilege --- modules/module-mongodb/src/replication/replication-utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/module-mongodb/src/replication/replication-utils.ts b/modules/module-mongodb/src/replication/replication-utils.ts index f3fbb4f4b..58f63f2b9 100644 --- a/modules/module-mongodb/src/replication/replication-utils.ts +++ b/modules/module-mongodb/src/replication/replication-utils.ts @@ -52,7 +52,7 @@ export async function checkSourceConfiguration(connectionManager: MongoManager): const fullName = `${db.databaseName}.${CHECKPOINTS_COLLECTION}`; throw new ServiceError( ErrorCode.PSYNC_S1307, - `MongoDB user does not have the required ${missingCheckpointActions.map((a) => `"${a}"`).join(', ')} priviledge(s) on "${fullName}".` + `MongoDB user does not have the required ${missingCheckpointActions.map((a) => `"${a}"`).join(', ')} privilege(s) on "${fullName}".` ); } @@ -62,14 +62,14 @@ export async function checkSourceConfiguration(connectionManager: MongoManager): if (!anyCollectionActions.has('collMod')) { throw new ServiceError( ErrorCode.PSYNC_S1307, - `MongoDB user does not have the required "collMod" priviledge on "${db.databaseName}", required for "post_images: auto_configure".` + `MongoDB user does not have the required "collMod" privilege on "${db.databaseName}", required for "post_images: auto_configure".` ); } } if (!anyCollectionActions.has('listCollections')) { throw new ServiceError( ErrorCode.PSYNC_S1307, - `MongoDB user does not have the required "listCollections" priviledge on "${db.databaseName}".` + `MongoDB user does not have the required "listCollections" privilege on "${db.databaseName}".` ); } } else {