diff --git a/project/src/controllers/QuestController.ts b/project/src/controllers/QuestController.ts index 16159da6..e5046c93 100644 --- a/project/src/controllers/QuestController.ts +++ b/project/src/controllers/QuestController.ts @@ -385,7 +385,7 @@ export class QuestController const change = {}; change[repeatableQuestProfile._id] = repeatableSettings.changeRequirement[repeatableQuestProfile._id]; const responseData: IPmcDataRepeatableQuest = { - id: repeatableSettings.id, + id: repeatableSettings.id ?? this.questConfig.repeatableQuests.find(x => x.name === repeatableQuestProfile.sptRepatableGroupName).id, name: repeatableSettings.name, endTime: repeatableSettings.endTime, changeRequirement: change, diff --git a/project/src/models/eft/common/tables/IRepeatableQuests.ts b/project/src/models/eft/common/tables/IRepeatableQuests.ts index 2f9a63bc..3d717604 100644 --- a/project/src/models/eft/common/tables/IRepeatableQuests.ts +++ b/project/src/models/eft/common/tables/IRepeatableQuests.ts @@ -50,9 +50,9 @@ export interface IChangeCost export interface IRepeatableQuest { - _id: any + _id: string traderId: string - location: any + location: string image: string type: string isKey: boolean