Skip to content

Commit

Permalink
dont output "expected a number or a string" (#3692)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed May 3, 2023
1 parent b4ff770 commit 0d66c36
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/storage/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ export default class StorageWrapper<K extends keyof DataModels> {
if (hiddenKeys.includes(key)) {
return hideObjectValue(value);
}
if (typeof value !== 'string' && typeof value !== 'number') {
return 'expected a number or a string';
}

return value;
};
Expand Down

0 comments on commit 0d66c36

Please sign in to comment.