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

refactor(Besoins): vérifier que les paramètres siae_id et user_id existent en BDD #1150

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Mar 29, 2024

Quoi ?

Suite de #1144

Nouvelle méthode dans les utils : get_object_by_id_or_none

Cela va nous permettre :

  • de vérifier que le paramètre siae_id correspond bien à une Siae
  • de vérifier que le paramètre user_id correspond bien à un User (et qu'il appartient bien à la Siae correspondante)

Todo

utiliser cette nouvelle méthode dans la vue tender

@raphodn raphodn force-pushed the raphodn/model-utils-get-by-id-or-none branch from 3311bbc to 3b4df52 Compare March 29, 2024 09:08
@raphodn raphodn changed the title refactor(Besoins): vérifier que les paramètres siae_id et user_id existent refactor(Besoins): vérifier que les paramètres siae_id et user_id existent en BDD Mar 29, 2024
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