Skip to content

Commit

Permalink
Merge branch 'account-patch'
Browse files Browse the repository at this point in the history
  • Loading branch information
smartsir796 committed Mar 22, 2022
2 parents c3adc4e + ec40adc commit 1dd972a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ export default class AdsharesBanner implements IScript<Props> {
"context": {
"site": {
"url": "https://" + this.getSceneId(parcel.land) + ".decentraland.org/",
"keywords": this.getSceneTags(parcel.land, props.keywords.split(","))
"keywords": this.getSceneTags(parcel.land, props.keywords.split(",")),
"metamask": 1
},
"user": {
"account": userAccount
Expand Down Expand Up @@ -163,7 +164,11 @@ export default class AdsharesBanner implements IScript<Props> {
page: {
iid: request.view_id,
url: request.context.site.url,
keywords: request.context.site.keywords
keywords: request.context.site.keywords,
metamask: request.context.site.metamask,
},
user: {
account: request.context.user.account
}
}
banner.click_url = addUrlParam(banner.click_url,
Expand Down

0 comments on commit 1dd972a

Please sign in to comment.