Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Fix collection slug type in API model #173

Merged
merged 2 commits into from
May 1, 2020
Merged

Conversation

Mierdin
Copy link
Member

@Mierdin Mierdin commented May 1, 2020

For the lesson API, collection slugs were still being defined as ints, and therefore left out of the DB->API translation function because of a type mismatch. This fixes this problem, and results in the collection slug showing up properly in a retrieved lesson, where applicable.

Signed-off-by: Matt Oswalt <matt@oswalt.dev>
Signed-off-by: Matt Oswalt <matt@oswalt.dev>
@codecov
Copy link

codecov bot commented May 1, 2020

Codecov Report

Merging #173 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #173   +/-   ##
=======================================
  Coverage   26.11%   26.11%           
=======================================
  Files          24       24           
  Lines        2374     2374           
=======================================
  Hits          620      620           
  Misses       1692     1692           
  Partials       62       62           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a915859...82f8cdc. Read the comment docs.

@Mierdin Mierdin merged commit 54b6ce4 into master May 1, 2020
@Mierdin Mierdin deleted the fix-collection-slug-type branch May 1, 2020 23:32
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant