diff --git a/mapadroid/db/DbPogoProtoSubmitRaw.py b/mapadroid/db/DbPogoProtoSubmitRaw.py index 7b9661177..fb0f64ae5 100644 --- a/mapadroid/db/DbPogoProtoSubmitRaw.py +++ b/mapadroid/db/DbPogoProtoSubmitRaw.py @@ -714,7 +714,7 @@ async def quest(self, session: AsyncSession, quest_proto: pogoprotos.FortSearchO condition: RepeatedCompositeFieldContainer[pogoprotos.QuestConditionProto] = goal.condition # TODO: Json dumping protos... - json_condition: str = json.dumps(condition) + json_condition: str = ProtoHelper.to_json(condition) task = await quest_gen.questtask(int(quest_type), json_condition, int(target), quest_template, quest_title_resource_id) quest: Optional[TrsQuest] = await TrsQuestHelper.get(session, fort_id, quest_layer)