Skip to content

Commit ed9365c

Browse files
committed
fix(storage): bug with simple-array types in sqlite
andpor/react-native-sqlite-storage#402 (comment)
1 parent 0e28bcc commit ed9365c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/storage/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class Storage {
170170
'credential.verifiableCredential',
171171
'verifiableCredential',
172172
)
173-
.where('verifiableCredential.type = :type', { type })
173+
.where('verifiableCredential.type = :type', { type: type.toString() })
174174
.getMany()
175175

176176
const results = groupAttributesByCredentialId(localAttributes).map(

0 commit comments

Comments
 (0)