Skip to content

Commit

Permalink
Updating app files
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsislimadev committed May 12, 2024
1 parent 0a64885 commit c4a3231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Database {
find(search = {}) {
return this.list().find((data) =>
Object.keys(search).every((key) =>
data.readString(key).toString() == search[key].toString()
data.readString(key)?.toString() == search[key]?.toString()
)
)
}
Expand Down

0 comments on commit c4a3231

Please sign in to comment.