fix(core): Use explicit types in configs to ensure valid decorator metadata (#10433)
This commit is contained in:
committed by
GitHub
parent
0dc3e99b26
commit
2043daa257
@@ -4,9 +4,9 @@ import { Config, Env } from '../decorators';
|
||||
export class TemplatesConfig {
|
||||
/** Whether to load workflow templates. */
|
||||
@Env('N8N_TEMPLATES_ENABLED')
|
||||
enabled = true;
|
||||
enabled: boolean = true;
|
||||
|
||||
/** Host to retrieve workflow templates from endpoints. */
|
||||
@Env('N8N_TEMPLATES_HOST')
|
||||
host = 'https://api.n8n.io/api/';
|
||||
host: string = 'https://api.n8n.io/api/';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user