Skip to content

Fix: Automatically assign show_id to flowsheet entries#24

Merged
AyBruno merged 1 commit intomainfrom
fix-flowsheet-show_ids
Jul 18, 2024
Merged

Fix: Automatically assign show_id to flowsheet entries#24
AyBruno merged 1 commit intomainfrom
fix-flowsheet-show_ids

Conversation

@AyBruno
Copy link
Collaborator

@AyBruno AyBruno commented Jul 15, 2024

During testing I realized it doesn't make sense to be passing a show_id to the flowsheet endpoint for each request. Here I just append any flowsheet add request with the current show's flowsheet show id.
I'll need to add some checks to make sure the dj making this request is a member of the show_djs for this show, but for now this will do.

@AyBruno AyBruno marked this pull request as draft July 15, 2024 02:13
@AyBruno AyBruno marked this pull request as ready for review July 15, 2024 02:13
@AyBruno AyBruno self-assigned this Jul 17, 2024
@AyBruno AyBruno merged commit d90ac81 into main Jul 18, 2024
@AyBruno AyBruno deleted the fix-flowsheet-show_ids branch August 26, 2024 02:41
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