mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2025-02-01 00:55:21 +01:00
idk
This commit is contained in:
parent
cf3da4c023
commit
f6ec738d2a
@ -24,10 +24,10 @@ export default class ResourceModule extends Module {
|
|||||||
|
|
||||||
// Response data
|
// Response data
|
||||||
places.push(new wm.wm.protobuf.Place({
|
places.push(new wm.wm.protobuf.Place({
|
||||||
placeId: Config.getConfig().placeId,
|
placeId: Config.getConfig().placeId || 'JPN0123',
|
||||||
regionId: Config.getConfig().regionId,
|
regionId: Number(Config.getConfig().regionId) || 1,
|
||||||
shopName: Config.getConfig().shopName,
|
shopName: Config.getConfig().shopName || 'Bayshore',
|
||||||
country: Config.getConfig().country
|
country: Config.getConfig().country || 'JPN'
|
||||||
}));
|
}));
|
||||||
|
|
||||||
let checkPlaceList = await prisma.placeList.findFirst({
|
let checkPlaceList = await prisma.placeList.findFirst({
|
||||||
@ -42,10 +42,10 @@ export default class ResourceModule extends Module {
|
|||||||
|
|
||||||
await prisma.placeList.create({
|
await prisma.placeList.create({
|
||||||
data:{
|
data:{
|
||||||
placeId: Config.getConfig().placeId,
|
placeId: Config.getConfig().placeId || 'JPN0123',
|
||||||
regionId: Number(Config.getConfig().regionId),
|
regionId: Number(Config.getConfig().regionId) || 1,
|
||||||
shopName: Config.getConfig().shopName,
|
shopName: Config.getConfig().shopName || 'Bayshore',
|
||||||
country: Config.getConfig().country
|
country: Config.getConfig().country || 'JPN'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user