We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c4b77 commit 0e359dcCopy full SHA for 0e359dc
app/core/nice/event/campaign.py
@@ -2,7 +2,7 @@
2
COMBINE_ADJUST_TARGET_TYPE_NAME,
3
EVENT_COMBINE_CALC_TYPE_NAME,
4
)
5
-from ....schemas.nice import NiceEventCampaign, NiceEventQuest
+from ....schemas.nice import NiceEventCampaign, NiceEventCampaignScript, NiceEventQuest
6
from ....schemas.raw import MstEventCampaign, MstEventQuest
7
8
@@ -16,6 +16,7 @@ def get_nice_campaign(campaign: MstEventCampaign) -> NiceEventCampaign:
16
value=campaign.value,
17
calcType=EVENT_COMBINE_CALC_TYPE_NAME[campaign.calcType],
18
entryCondMessage=campaign.entryCondMessage,
19
+ script=NiceEventCampaignScript.model_validate(campaign.script),
20
21
22
0 commit comments