Skip to content

Commit

Permalink
Add phase to NiceEventQuest
Browse files Browse the repository at this point in the history
  • Loading branch information
narumi147 committed Jan 29, 2025
1 parent c16559c commit 74cda29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/core/nice/event/campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ def get_nice_campaign(campaign: MstEventCampaign) -> NiceEventCampaign:


def get_nice_event_quest(quest: MstEventQuest) -> NiceEventQuest:
return NiceEventQuest(questId=quest.questId)
return NiceEventQuest(questId=quest.questId, phase=quest.phase)
2 changes: 1 addition & 1 deletion app/schemas/nice.py
Original file line number Diff line number Diff line change
Expand Up @@ -1866,7 +1866,7 @@ class NiceBgmEntity(NiceBgm):

class NiceEventQuest(BaseModelORJson):
questId: int
# phase: int
phase: int = 0


class NiceEventCampaign(BaseModelORJson):
Expand Down

0 comments on commit 74cda29

Please sign in to comment.