Skip to content

Commit

Permalink
✨ add comment to URL extraction step in archieToEnriched
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Apr 22, 2024
1 parent 74f9b24 commit 489c854
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/model/Gdoc/archieToEnriched.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ export const archieToEnriched = (
for (const key of Object.keys(parsed)) {
const value = parsed[key]
if (typeof value === "string") {
// this is safe to call on everything because it falls back to `value` if it's not an <a> tag
parsed[key] = extractUrl(value)
}
}
Expand Down

0 comments on commit 489c854

Please sign in to comment.