mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(api): apply feedback
This commit is contained in:
@@ -71,7 +71,7 @@ export class LifecycleHookManager {
|
||||
}
|
||||
|
||||
public static attach(model: ModelDefinition): ModelDefinition {
|
||||
this.addModel(model);
|
||||
LifecycleHookManager.addModel(model);
|
||||
const { name, schema } = model;
|
||||
const operations: {
|
||||
[key in LifecycleOperation]: ('pre' | 'post')[];
|
||||
|
||||
Reference in New Issue
Block a user