Skip to content

Commit

Permalink
ENH: Ensure user id is passed along (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd authored Jul 14, 2022
1 parent a93ca12 commit b69c23c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions migas/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ def add_project(
A dictionary containing the latest released version of the project,
as well as any messages sent by the developers.
"""
if not user_id:
user_id = Config.user_id
parameters = _introspec(add_project, locals())
# TODO: 3.9 - Replace with | operator
params = {**compile_info(), **parameters}
Expand Down

0 comments on commit b69c23c

Please sign in to comment.