Merge pull request #4135 from omnivore-app/feat/original-url-feature
Add original_url to score service calls
This commit is contained in:
@ -73,6 +73,7 @@ export const scoreLibraryItem = async (
|
||||
has_site_icon: !!libraryItem.siteIcon,
|
||||
saved_at: libraryItem.savedAt,
|
||||
site: libraryItem.siteName,
|
||||
original_url: libraryItem.originalUrl,
|
||||
directionality: libraryItem.directionality,
|
||||
folder: libraryItem.folder,
|
||||
subscription_type: 'library',
|
||||
|
||||
@ -218,6 +218,7 @@ const rankCandidates = async (
|
||||
has_site_icon: !!item.siteIcon,
|
||||
saved_at: item.date,
|
||||
site: item.siteName,
|
||||
original_url: item.url,
|
||||
language: item.languageCode,
|
||||
directionality: item.dir,
|
||||
folder: item.folder,
|
||||
|
||||
@ -16,6 +16,7 @@ export interface Feature {
|
||||
is_newsletter: boolean
|
||||
is_feed: boolean
|
||||
|
||||
original_url?: string
|
||||
site?: string
|
||||
language?: string
|
||||
author?: string
|
||||
|
||||
Reference in New Issue
Block a user