Skip to content

Commit

Permalink
Set default value for session
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Dec 8, 2023
1 parent 5e02593 commit b1e625f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/gn_module_monitoring/modules/repositories.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_module(field_name, value, moduleCls=TMonitoringModules):
pass


def get_modules(session):
def get_modules(session=None):
"""
récupère les modules de protocole de suivi
renvoie un tableau de dictionnaires
Expand Down

0 comments on commit b1e625f

Please sign in to comment.