Update api/src/utils/generics/lifecycle-hook-manager.ts

Co-authored-by: Med Marrouchi <marrouchi.mohamed@gmail.com>
This commit is contained in:
Yassine 2025-06-16 09:42:20 +01:00 committed by GitHub
parent 6c2826d37f
commit 4de2ded12a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ export class LifecycleHookManager {
private static addModel(model: ModelDefinition) {
if (this.models.has(model.name)) {
throw new Error(`model with Name ${model} already exist`);
throw new Error(`Model with name ${model} already exists`);
}
this.models.set(model.name, model);