1
0
mirror of synced 2024-09-24 03:08:26 +02:00

Add config to startup because I forgor last time

This commit is contained in:
Rin 2022-07-12 15:25:54 +01:00
parent 8b4627ef56
commit 484615a447

View File

@ -1,5 +1,6 @@
import { Application } from "express";
import {Module} from "module";
import { Config } from "../config";
import * as wm from "../wmmt/wm.proto";
export default class StartupModule extends Module {
@ -36,7 +37,7 @@ export default class StartupModule extends Module {
places.push(new wm.wm.protobuf.Place({
placeId: "JPN0123",
regionId: 1,
shopName: "WMMT6",
shopName: Config.getConfig().shopName,
country: "JPN"
}));
let resp = wm.wm.protobuf.PlaceList.encode({places});