Browse Source

safety commit before system upgrade

master
peter 5 years ago
parent
commit
afbf1cc001
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/backend/Admin/Admin.ts
  2. 1
    1
      src/backend/Injector/ServiceDecorator.ts

+ 1
- 1
src/backend/Admin/Admin.ts View File

@@ -24,7 +24,7 @@ import { Injector } from '../Injector/Injector';
24 24
 const logger = getLogger("admin", 'debug') 
25 25
 
26 26
 @RootComponent({
27
-    rootInterface: IAdmin,
27
+    implements: IAdmin,
28 28
     imports: [
29 29
         GuildManager,
30 30
         ItemManager,

+ 1
- 1
src/backend/Injector/ServiceDecorator.ts View File

@@ -9,7 +9,7 @@ import { FrontworkComponent } from "../Types/FrontworkComponent";
9 9
 export const Module = (ifc?: Type<any>) : GenericClassDecorator<Type<any>> => {
10 10
   return (target: Type<any>) => {
11 11
     Injector.modules.push({
12
-      extends: ifc,
12
+      implements: ifc,
13 13
       implementation: target
14 14
     })
15 15
   }

Loading…
Cancel
Save