Skip to content

Commit

Permalink
fix: Typo in PagesDomains all() method (#162)
Browse files Browse the repository at this point in the history
Updated URL to point to correct endpoint
  • Loading branch information
CraigAllardyce authored and jdalrymple committed Aug 16, 2018
1 parent 2cb0c0f commit 128f150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/PagesDomains.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class PagesDomains extends BaseService {
all({ projectId } = {}) {
const url = projectId ? `projects/${encodeURIComponent(projectId)}/` : '';

return RequestHelper.get(this, `${url}page/domains`);
return RequestHelper.get(this, `${url}pages/domains`);
}

create(projectId, domain, options) {
Expand Down

0 comments on commit 128f150

Please sign in to comment.