Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
4e3faad3
Commit
4e3faad3
authored
Jul 27, 2021
by
Kim, Subin
Browse files
getAll - moreFeeInfo 불러오기
parent
8087c9bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/controllers/cinema.controller.js
View file @
4e3faad3
...
@@ -4,7 +4,7 @@ const getAll = async (req, res) => {
...
@@ -4,7 +4,7 @@ const getAll = async (req, res) => {
try
{
try
{
const
info
=
await
Cinema
.
findOne
({
const
info
=
await
Cinema
.
findOne
({
where
:
{
id
:
1
},
where
:
{
id
:
1
},
attributes
:
[
'
cinemaName
'
,
'
transportation
'
,
'
parking
'
,
'
address
'
]
attributes
:
[
'
cinemaName
'
,
'
transportation
'
,
'
parking
'
,
'
address
'
,
'
moreFeeInfo
'
]
})
})
return
res
.
json
(
info
)
return
res
.
json
(
info
)
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
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