From ddbc008e3875221cc3a845ec324927247f33a412 Mon Sep 17 00:00:00 2001 From: Konstantinos Kopanidis Date: Fri, 24 Feb 2023 18:57:20 +0200 Subject: [PATCH] fix(database): mongoose sync throws unnecessary error --- modules/database/src/adapters/mongoose-adapter/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/database/src/adapters/mongoose-adapter/index.ts b/modules/database/src/adapters/mongoose-adapter/index.ts index ff31f13dc..e41cc69c9 100644 --- a/modules/database/src/adapters/mongoose-adapter/index.ts +++ b/modules/database/src/adapters/mongoose-adapter/index.ts @@ -371,7 +371,7 @@ export class MongooseAdapter extends DatabaseAdapter { } async syncSchema(name: string) { - throw new GrpcError(status.UNIMPLEMENTED, 'Cannot sync module schema in Mongoose'); + return; } private checkIndexes(