tangled
alpha
login
or
join now
finxol.io
/
bookmarker
0
fork
atom
A very simple bookmarking webapp
bookmarker.finxol.deno.net/
0
fork
atom
overview
issues
pulls
pipelines
fix: preserve bookmark datatime on import
finxol.io
1 month ago
9b196c59
2c870433
verified
This commit was signed with the committer's
known signature
.
finxol.io
SSH Key Fingerprint:
SHA256:olFE3asYdoBMScuJOt60UxXdJ0RFdGv5kVKrdOtIcPI=
1/1
deploy.yaml
success
9s
+1
-4
1 changed file
expand all
collapse all
unified
split
server
routes
bookmarks.ts
+1
-4
server/routes/bookmarks.ts
···
204
204
const hashBuffer = await crypto.subtle.digest("SHA-256", data)
205
205
const id = encodeHex(hashBuffer)
206
206
207
207
-
const bookmarkData = BookmarkSchema({
208
208
-
...bookmark,
209
209
-
updatedAt: new Date().toISOString(),
210
210
-
})
207
207
+
const bookmarkData = BookmarkSchema(bookmark)
211
208
212
209
if (bookmarkData instanceof type.errors) {
213
210
console.error("Error parsing bookmark:", bookmarkData.summary)