File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,13 +168,13 @@ def mandar_um_convite_para_entrar_na_turma_tipo_o_whatsapp(chave_de_convite_da_a
168168 raise HTTPException (status_code = 404 , detail = f"Essa agenda não existe" )
169169
170170 for key , val in agenda_data .items ():
171- return {
172- "id" : key ,
173- "uid_da_agenda" : key ,
174- "nome_agenda" : val .get ("nome_agenda" ),
175- "chave_de_convite" : val .get ("chave_de_convite" ),
176- "firstCreated" : val .get ("firstCreated" )
177- }
171+ return {
172+ "id" : key ,
173+ "uid_da_agenda" : key ,
174+ "nome_agenda" : val .get ("nome_agenda" ),
175+ "chave_de_convite" : val .get ("chave_de_convite" ),
176+ "firstCreated" : val .get ("firstCreated" )
177+ }
178178
179179 # Detecta o dispositivo
180180 user_agent = request .headers .get ("user-agent" , "" ).lower ()
@@ -183,13 +183,13 @@ def mandar_um_convite_para_entrar_na_turma_tipo_o_whatsapp(chave_de_convite_da_a
183183 deep_link_url = "cosmos://home"
184184
185185 # URL da Play Store (o pacote deve bater com o app.json do Expo)
186- play_store_url = "https://play.google.com/store/apps/details?id=com.seuapp.android "
186+ play_store_url = "https://play.google.com/store/apps/details?id=com.luar6.cosmos "
187187
188188 if "android" in user_agent :
189189 intent_url = (
190190 f"intent://home#Intent;"
191191 f"scheme=cosmos;"
192- f"package=com.seuapp.android ;"
192+ f"package=com.luar6.cosmos ;"
193193 f"end"
194194 )
195195 return RedirectResponse (intent_url )
You can’t perform that action at this time.
0 commit comments