Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 237 - Serviço de Listar Pets #277

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ClaudioBioni
Copy link
Contributor

@ClaudioBioni ClaudioBioni commented Jun 24, 2024

Closes #237

Feature

Criação do serviço de listagem de pets. Esse serviço deve fazer uso o mock-api já existente.

  • Issue linked
  • Build working correctly
  • Tests created
Additional info Adicionada mais informações na mock-api para testes.

@@ -0,0 +1,22 @@
export const UserService = {
getUser: async (userId) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ola boa tarde 😁
A sua tarefa esta relacionada a Listagem de Pets e o nome do método esta "getUser", seria interessante deixar mais semântico.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

O que seria mais interessante colocar? Porque nessa parte eu to pegando o usuário pra depois buscar o pet dele, imaginei que getUser seria ok

src/services/user/userService.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Criar o Serviço de Listar Pets
3 participants