test for snyk
This commit is contained in:
11
src/helpers/clientHelpers.ts
Normal file
11
src/helpers/clientHelpers.ts
Normal file
@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
clientExists: function (id: number) {
|
||||
for (let client of this.clients) {
|
||||
if (client.id == id) {
|
||||
return client;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user