Commit 4186d64
committed
fix: fix issue with validateRecord not validating bsky posts
post.record is a json object and its strings aren't typed. ValidateRecord
requires there to be a `BlobRef` type on the thumb field. Since there wasn't,
the validation failed.
jsonToLex will type our json string so instead of an untyped Object for the thumb
field, it will now be a BlobRef.1 parent 60825d6 commit 4186d64
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
139 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
140 | 144 | | |
141 | 145 | | |
142 | | - | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
0 commit comments