mirror of
https://github.com/dergigi/boris.git
synced 2026-01-29 03:34:43 +01:00
fix: correct added_at timestamp to use bookmark list creation time, not content creation time
This commit is contained in:
@@ -165,7 +165,9 @@ export const processApplesauceBookmarks = (
|
||||
parsedContent: bookmark.content ? (getParsedContent(bookmark.content) as ParsedContent) : undefined,
|
||||
type: 'event' as const,
|
||||
isPrivate,
|
||||
added_at: bookmark.created_at || parentCreatedAt || 0
|
||||
// added_at should be when the bookmark was added (parentCreatedAt = bookmark list event timestamp)
|
||||
// NOT when the content itself was created
|
||||
added_at: parentCreatedAt || bookmark.created_at || 0
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user