Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Job Quest
jobquest-api
Commits
7b5833d7
Commit
7b5833d7
authored
4 years ago
by
Leonardo
Browse files
Options
Download
Email Patches
Plain Diff
feat(company): adiciona campo restante
parent
3ce57267
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Controllers/CompanyController.js
+2
-1
Controllers/CompanyController.js
with
2 additions
and
1 deletion
+2
-1
Controllers/CompanyController.js
View file @
7b5833d7
...
...
@@ -22,7 +22,6 @@ class CompanyController {
}
const
userData
=
await
UsersDAO
.
findUserById
(
companyData
.
id_usuario
);
console
.
log
(
userData
)
if
(
!
userData
)
{
response
({
code
:
constants
.
invalidUser
,
desc
:
constants
.
notFoundDesc
},
null
);
...
...
@@ -31,6 +30,7 @@ class CompanyController {
const
{
id_empresa
,
id_usuario
,
mail
,
nome
,
razao_social
,
url_site
,
...
...
@@ -53,6 +53,7 @@ class CompanyController {
id_empresa
,
id_usuario
,
nome
,
email
:
mail
,
razao_social
,
url_site
,
logo_url
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help