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 api 404 on page parameter #2468

Merged
merged 1 commit into from Mar 28, 2021
Merged

fix api 404 on page parameter #2468

merged 1 commit into from Mar 28, 2021

Conversation

kevinpapst
Copy link
Member

@kevinpapst kevinpapst commented Mar 28, 2021

Description

One of the last updates brought in new major versions of API related libraries ... and they changed something critical.
This fixes the error codes and adds tests to make sure it won't break in the future again.

Fixes #2466

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I verified that my code applies to the guidelines (composer code-check)
  • I agree that this code is used in Kimai and will be published under the MIT license

@codecov
Copy link

codecov bot commented Mar 28, 2021

Codecov Report

Merging #2468 (aa59097) into master (f8a5ff7) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2468      +/-   ##
============================================
- Coverage     92.47%   92.46%   -0.01%     
  Complexity     6459     6459              
============================================
  Files           589      589              
  Lines         19226    19226              
============================================
- Hits          17779    17778       -1     
- Misses         1447     1448       +1     
Impacted Files Coverage Δ Complexity Δ
src/Repository/TimesheetRepository.php 88.95% <0.00%> (-0.19%) 138.00% <0.00%> (ø%)

@kevinpapst kevinpapst merged commit 7427187 into master Mar 28, 2021
@kevinpapst kevinpapst deleted the api-errors branch March 28, 2021 09:30
kevinpapst added a commit that referenced this pull request Jul 13, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

API Timesheets collection fails with error 500 instead of 404
1 participant