Skip to content
Snippets Groups Projects
Commit 32ee46c4 authored by Lee WooChang's avatar Lee WooChang
Browse files

fix: eslint 적용

parent 63bbb028
No related branches found
No related tags found
1 merge request!23lint 오류 수정
Pipeline #10881 passed
......@@ -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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment