Added support for entryId in affiliate links.
This commit is contained in:
parent
a2d5828fda
commit
c536a75f3d
|
|
@ -38,6 +38,7 @@ export function getAffiliateSceneUrl(scene) {
|
|||
scenePath: scene.affiliate.parameters.prefixSlash
|
||||
? scenePath
|
||||
: scenePath.replace(/^\//, ''),
|
||||
entryId: scene.entryId,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ function curateScene(rawScene, assets, reqUser) {
|
|||
title: rawScene.title,
|
||||
slug: rawScene.slug,
|
||||
url: rawScene.url,
|
||||
entryId: rawScene.entry_id,
|
||||
date: rawScene.date,
|
||||
datePrecision: rawScene.date_precision,
|
||||
createdAt: rawScene.created_at,
|
||||
|
|
|
|||
Loading…
Reference in New Issue