fix(api): apply feedback

This commit is contained in:
yassinedorbozgithub 2025-06-16 17:41:32 +01:00
parent 91f1368206
commit 369ef033a2

View File

@ -104,7 +104,7 @@ const getModel = (name: string, suffix = ''): ModelDefinition => {
const model = LifecycleHookManager.getModel(modelName); const model = LifecycleHookManager.getModel(modelName);
if (!model) { if (!model) {
throw new Error(`Unable to find model for name '${modelName}!`); throw new Error(`Unable to find model for name '${modelName}!'`);
} }
return model; return model;