Skip to content

Commit

Permalink
fix(database): mongoose sync throws unnecessary error
Browse files Browse the repository at this point in the history
  • Loading branch information
kkopanidis committed Feb 24, 2023
1 parent 465b35e commit ddbc008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/database/src/adapters/mongoose-adapter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export class MongooseAdapter extends DatabaseAdapter<MongooseSchema> {
}

async syncSchema(name: string) {
throw new GrpcError(status.UNIMPLEMENTED, 'Cannot sync module schema in Mongoose');
return;
}

private checkIndexes(
Expand Down

0 comments on commit ddbc008

Please sign in to comment.