refactor(server): event names (#12084)

This commit is contained in:
Jason Rasmussen
2024-08-27 18:06:50 -04:00
committed by GitHub
parent aac6a4b052
commit 0be3c4472f
16 changed files with 55 additions and 54 deletions

View File

@@ -89,8 +89,8 @@ export class StorageTemplateService {
);
}
@OnEmit({ event: 'onConfigValidate' })
onConfigValidate({ newConfig }: ArgOf<'onConfigValidate'>) {
@OnEmit({ event: 'config.validate' })
onConfigValidate({ newConfig }: ArgOf<'config.validate'>) {
try {
const { compiled } = this.compile(newConfig.storageTemplate.template);
this.render(compiled, {