Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Typo in endpoint for "Release remaining authorization" #56

Closed
okebai opened this issue Aug 5, 2019 · 2 comments
Closed

Typo in endpoint for "Release remaining authorization" #56

okebai opened this issue Aug 5, 2019 · 2 comments
Assignees

Comments

@okebai
Copy link

okebai commented Aug 5, 2019

Describe the bug
Therese a typo in the endpoint for Klarna.Rest.Core.Klarna.OrderManagement.ReleaseRemainingAuthorization, causing it to always return HTTP 404. Theres an underscore where there should be a dash.

var url = ApiUrlHelper.GetApiUrlForController(ApiSession.ApiUrl, ApiControllerUri, $"{orderId}/release-remaining_authorization");

Which service do you use
Order management

To Reproduce
Steps to reproduce the behavior:

  1. Call Klarna.Rest.Core.Klarna.OrderManagement.ReleaseRemainingAuthorization
  2. 404 response.

Expected behavior
200 or 403 response.

@alexions
Copy link
Contributor

alexions commented Aug 8, 2019

The PR is ready to merge. Feel free to check it out and leave a comment.

alexions pushed a commit that referenced this issue Aug 8, 2019
…oint

Fix #56: Order management: Fix typo in the release remaining authorization endpoint.
@alexions
Copy link
Contributor

alexions commented Aug 9, 2019

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

No branches or pull requests

2 participants