Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
meanspec-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MeanSpec (SCE338 2024-2 Group 1)
meanspec-backend
Commits
32ee46c4
Commit
32ee46c4
authored
5 months ago
by
Lee WooChang
Browse files
Options
Downloads
Patches
Plain Diff
fix: eslint 적용
parent
63bbb028
No related branches found
No related tags found
1 merge request
!23
lint 오류 수정
Pipeline
#10881
passed
5 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/repositories/myRepository.js
+6
-6
6 additions, 6 deletions
src/repositories/myRepository.js
with
6 additions
and
6 deletions
src/repositories/myRepository.js
+
6
−
6
View file @
32ee46c4
...
...
@@ -82,17 +82,17 @@ const myRepository = {
return
rowCount
>
0
;
},
async
deleteCombinationById
(
combinationId
)
{
const
query
=
`
async
deleteCombinationById
(
combinationId
)
{
const
query
=
`
UPDATE combinations
SET owner_id = NULL
WHERE id = $1
`
;
const
values
=
[
combinationId
];
const
values
=
[
combinationId
];
const
{
rowCount
}
=
await
pool
.
query
(
query
,
values
);
return
rowCount
>
0
;
}
const
{
rowCount
}
=
await
pool
.
query
(
query
,
values
);
return
rowCount
>
0
;
},
};
export
default
myRepository
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment