Skip to content

Commit

Permalink
Update services/api/src/resources/problem/sql.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Toby Bellwood <[email protected]>
  • Loading branch information
bomoko and tobybellwood authored Dec 7, 2023
1 parent 6b84460 commit bc99d18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions services/api/src/resources/problem/sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,10 @@ export const Sql = {
environment: environment,
identifier: identifier
});

if (service != undefined) {
q.where('lagoon_service', service);
}

return q.del().toString()
return q.del().toString();
},
deleteProblemsFromSource: (environment, source, service) =>
knex('environment_problem')
Expand Down

0 comments on commit bc99d18

Please sign in to comment.