fix: suppress unused userId params in checklist and issue services
This commit is contained in:
@@ -459,7 +459,7 @@ async function submitExecution(
|
|||||||
id: string,
|
id: string,
|
||||||
items: Array<{ itemId: number; ergebnis: string; kommentar?: string }>,
|
items: Array<{ itemId: number; ergebnis: string; kommentar?: string }>,
|
||||||
notizen: string | null,
|
notizen: string | null,
|
||||||
userId: string,
|
_userId: string,
|
||||||
) {
|
) {
|
||||||
const client = await pool.connect();
|
const client = await pool.connect();
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -638,7 +638,7 @@ async function getFiles(issueId: number) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function deleteFile(fileId: string, userId: string) {
|
async function deleteFile(fileId: string, _userId: string) {
|
||||||
try {
|
try {
|
||||||
const fileResult = await pool.query(
|
const fileResult = await pool.query(
|
||||||
`SELECT * FROM issue_dateien WHERE id = $1`,
|
`SELECT * FROM issue_dateien WHERE id = $1`,
|
||||||
|
|||||||
Reference in New Issue
Block a user