fix: lint
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2023-05-31 16:22:02 +02:00 committed by konrad
parent 52987060b1
commit cd2b7fe185
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ interface MatchedAssignee extends IUser {
}
// IDEA: maybe use a small fuzzy search here to prevent errors
function findPropertyByValue(object, key, value, fuzzy: boolean = false) {
function findPropertyByValue(object, key, value, fuzzy = false) {
return Object.values(object).find(l => {
if (fuzzy) {
return l[key]?.toLowerCase().includes(value.toLowerCase())