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

Fetch pickup points #3

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Fetch pickup points #3

merged 1 commit into from
Oct 25, 2023

Conversation

Wiktor6
Copy link
Contributor

@Wiktor6 Wiktor6 commented Oct 23, 2023

No description provided.

@olekans olekans self-requested a review October 24, 2023 07:36
$this->logger->logResponse($request->getEndpoint(), $psrRequest, $response);

if (str_contains($contents, 'errors')) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it safe to check for errors like this? API does not return error status?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunatelly not :/ Always 200.

@Wiktor6 Wiktor6 merged commit 20f4370 into main Oct 25, 2023
4 checks passed
@Wiktor6 Wiktor6 deleted the add-pickup-point-fetch-service branch October 25, 2023 07:07
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.

3 participants