safety commit before system upgrade

This commit is contained in:
peter
2020-01-30 15:23:57 +01:00
parent f7f770a40c
commit afbf1cc001
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ import { Injector } from '../Injector/Injector';
const logger = getLogger("admin", 'debug') const logger = getLogger("admin", 'debug')
@RootComponent({ @RootComponent({
rootInterface: IAdmin, implements: IAdmin,
imports: [ imports: [
GuildManager, GuildManager,
ItemManager, ItemManager,
+1 -1
View File
@@ -9,7 +9,7 @@ import { FrontworkComponent } from "../Types/FrontworkComponent";
export const Module = (ifc?: Type<any>) : GenericClassDecorator<Type<any>> => { export const Module = (ifc?: Type<any>) : GenericClassDecorator<Type<any>> => {
return (target: Type<any>) => { return (target: Type<any>) => {
Injector.modules.push({ Injector.modules.push({
extends: ifc, implements: ifc,
implementation: target implementation: target
}) })
} }