Skip to content

Commit f434101

Browse files
Merge pull request #26 from marshfellow42/main
Colocar uma mensagem extra no endpoint para criar uma agenda
2 parents 143b12a + 0fdab55 commit f434101

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ async def criar_uma_agenda(nome_agenda: str, uid_do_responsavel: str, api_key: s
303303
}
304304
})
305305

306-
return {"message": f'A agenda {nome_agenda} com o UID {uid_da_agenda} foi criada com sucesso'}
306+
return {"message": f'A agenda {nome_agenda} com o UID {uid_da_agenda} foi criada com sucesso, com o usuário com o UID {uid_do_responsavel} sendo o responsável por ela'}
307307

308308

309309
@app.post("/add/agenda/membro", tags=["Agenda"], responses=STANDARD_RESPONSES)

0 commit comments

Comments
 (0)