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
Compare revisions
63bbb0289b89a279bfc83d931430a81d4ce3ff95 to d80f45ea0106fcd704764d217b6eade516e305e9
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
meanspec/meanspec-backend
Select target project
No results found
d80f45ea0106fcd704764d217b6eade516e305e9
Select Git revision
Branches
main
1 result
Swap
Target
meanspec/meanspec-backend
Select target project
meanspec/meanspec-backend
1 result
63bbb0289b89a279bfc83d931430a81d4ce3ff95
Select Git revision
Branches
main
1 result
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
fix: eslint 적용
· 32ee46c4
Lee WooChang
authored
5 months ago
32ee46c4
Merge branch 'fix/missing-eslint' into 'main'
· d80f45ea
Lee WooChang
authored
5 months ago
lint 오류 수정 See merge request
!23
d80f45ea
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
View file @
d80f45ea
...
...
@@ -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.