Skip to content

Commit 42d716b

Browse files
author
James Dalessio
committed
wip
1 parent b5172da commit 42d716b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exp-sdk",
3-
"version": "5.0.0-alpha2",
3+
"version": "5.0.0-alpha3",
44
"description": "EXP Javascript SDK",
55
"main": "./index.js",
66
"scripts": {

src/API.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class Location extends CommonResource {
229229
}
230230

231231
getLayoutUrl () {
232-
return `${this._getResourcePath()}/layout?_rt=${this._sdk.authenticator.getAuthSync().restrictedToken}`;
232+
return `${this._getResourcePath()}/layout`;
233233
}
234234
}
235235

@@ -425,7 +425,7 @@ class Content extends CommonResource {
425425
}
426426

427427
getVariantUrl (name) {
428-
return this.getUrl() + '&variant=' + name;
428+
return this.getUrl() + '?variant=' + name;
429429
}
430430

431431
hasVariant (name) {

0 commit comments

Comments
 (0)