We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb7f7c commit c5f3e6dCopy full SHA for c5f3e6d
1 file changed
api/main.py
@@ -168,7 +168,13 @@ def mandar_um_convite_para_entrar_na_turma_tipo_o_whatsapp(chave_de_convite_da_a
168
raise HTTPException(status_code=404, detail=f"Essa agenda não existe")
169
170
for key, val in agenda_data.items():
171
- return (f"UID da Agenda: {key}, Data: {val}")
+ 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
+ }
178
179
# Detecta o dispositivo
180
user_agent = request.headers.get("user-agent", "").lower()
0 commit comments