We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03d8913 commit bfed16aCopy full SHA for bfed16a
src/resources/PatternsContext.js
@@ -98,7 +98,7 @@ class PatternsContext extends PagedContext {
98
}
99
100
getPatternForSyncRouteEditor(patternId) {
101
- const url = `/1/SYNC/patterns/editor/${patternId}`;
+ const url = `/1/${this.code}/patterns/editor/${patternId}`;
102
return this.client.get(url)
103
.then(response => response.json())
104
.then(data => new Pattern(this.client, data));
0 commit comments