Closed MariaGabrielaReis closed 1 year ago
Foi usado a classe para agrupar as requisições que envolvem as reuniões, onde existe uma função para editar uma anotação de uma reunião. Esse put foi feito consumindo a rota do backend através dessa função.
Tecnologias: React Native, Expo, Axios, Styled Components
https://user-images.githubusercontent.com/69374340/233806091-429b9d5c-535e-4814-8f26-4eb6276186db.mp4
Requisição
async updateMeetingComment(commentId: string, comment: string) { try { await api.put(MEETING_ENDPOINTS.UPDATE_COMMENT + commentId, { comment }); } catch (error) { alertError(error, "Não foi possível atualizar o comentário :("); } }
Documentação
Foi usado a classe para agrupar as requisições que envolvem as reuniões, onde existe uma função para editar uma anotação de uma reunião. Esse put foi feito consumindo a rota do backend através dessa função.
Tecnologias: React Native, Expo, Axios, Styled Components
https://user-images.githubusercontent.com/69374340/233806091-429b9d5c-535e-4814-8f26-4eb6276186db.mp4
Requisição