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(apis_metainfo): check for numeric id before listing related Uris #1521

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

b1rger
Copy link
Contributor

@b1rger b1rger commented Jan 10, 2025

Some model instance don't have a primary key thats called id or don't
have a numeric primary key. Use the pk attribute and check if its an
integer before using it to filter Uris.

@b1rger b1rger marked this pull request as ready for review January 10, 2025 10:02
Some model instance don't have a primary key thats called `id` or don't
have a numeric primary key. Use the `pk` attribute and check if its an
integer before using it to filter Uris.
@b1rger b1rger force-pushed the birger/fix-uri-session branch from c5fedd6 to 350b0aa Compare January 10, 2025 10:03
@b1rger b1rger merged commit a909428 into main Jan 10, 2025
14 checks passed
@b1rger b1rger deleted the birger/fix-uri-session branch January 10, 2025 10:04
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.

1 participant