Skip to content

PR de Correção#1

Open
jvpalves wants to merge 23 commits into
correcao-projetofrom
master
Open

PR de Correção#1
jvpalves wants to merge 23 commits into
correcao-projetofrom
master

Conversation

@jvpalves

@jvpalves jvpalves commented Apr 8, 2021

Copy link
Copy Markdown

observações sobre o projeto.

@jvpalves jvpalves left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Oi, gente! O projeto de vocês foi consiiderado acima do esperado. Meus mais seinceros parabéns. O conteúdo do módulo 4 está perfeito! Deixei alguns comentários no corpo do projeto, mas em linhas gerais está tudo muito bom!

Comment thread README.md
# LABENU SYSTEM

## 📚📰 Documentação no Postman
https://documenter.getpostman.com/view/14148928/TzCMe8Jy

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Lindão!

Comment thread src/endpoints/addClass.ts
Comment on lines +52 to +58
if (
period.toLowerCase() !== "noturno" &&
period.toLowerCase() !== "integral"
) {
errorCode = 422;
throw new Error(`'period' options are: 'Noturno' or 'Integral'.`);
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Muito bom! Seria legal usar um ENUM aqui.

Comment thread src/endpoints/addClass.ts
}

// Insere as informações no Banco de Dados
await insertClass(id, modName, startDate, endDate, module);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Vale a pena transformar estes parâmetros em um objeto

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.

3 participants