Skip to content

Commit bfed16a

Browse files
committed
fix path
1 parent 03d8913 commit bfed16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/PatternsContext.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class PatternsContext extends PagedContext {
9898
}
9999

100100
getPatternForSyncRouteEditor(patternId) {
101-
const url = `/1/SYNC/patterns/editor/${patternId}`;
101+
const url = `/1/${this.code}/patterns/editor/${patternId}`;
102102
return this.client.get(url)
103103
.then(response => response.json())
104104
.then(data => new Pattern(this.client, data));

0 commit comments

Comments
 (0)