Introduce usage of potoken for GVS for visitor data users
This commit is contained in:
1 parent
5e34ce8067
commit
7e21e46ec0
4 files changed
+47
-4
No files matched your search
@@ -60,6 +60,12 @@ function ExecuteJob() as void
|
||||
"accessToken": accessToken
|
||||
"onBehalfOfUser": onBehalfOfUser
|
||||
})
|
||||
if IsAssociativeArray(metadata)
|
||||
contentNode.addFields({
|
||||
potAttached: ValidBool(metadata.potAttached)
|
||||
loggedIn: not StringUtils.IsNullOrEmpty(accessToken)
|
||||
})
|
||||
end if
|
||||
else
|
||||
metadata = service.GetVideoMetadata(contentNode.videoId, { cancellation: m.top.cancellation })
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user