Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix create subscriber #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ratnayake
Copy link

create subscriber has wrong endpoint. fixed it

create subscriber has wrong endpoint fixed it
@twisted1919
Copy link
Owner

I don't think that's the case, the url rule in the api is defined as:
array('list_subscribers/create', 'pattern' => 'lists/<list_uid:([a-z0-9]+)>/subscribers', 'verb' => 'POST'),, which means $this->config->getApiUrl(sprintf('lists/%s/subscribers', (string)$listUid)) is the correct endpoint.

@ratnayake
Copy link
Author

but it's not work for me and when i changed subscribers to subscribe works fine

@twisted1919
Copy link
Owner

There has to be something else, check your app versions, additional extensions, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants