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

The siteByUrl() method constantly fails #49

Open
dmitry-ivanov opened this issue Nov 21, 2024 · 0 comments
Open

The siteByUrl() method constantly fails #49

dmitry-ivanov opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@dmitry-ivanov
Copy link

Steps to reproduce:

  • create a site on OhDear (e.g., foo.com);
  • try to get information about it using the siteByUrl() method;

Expected:

The proper site information will be returned.

Actual:

The OhDear\PhpSdk\Exceptions\NotFoundException is thrown.


PS:

At the same time, if you try to get site information via the site() method (which accepts siteId as an argument) -- it works.


I tried to call the siteByUrl() with various args, but they all fail:

When I get the site information via its ID, I see that its URL is https://foo.com.

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

No branches or pull requests

2 participants