Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Update script_launch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Wudext authored Jul 31, 2023
1 parent 36a8435 commit dd10f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/script_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SendOutput(BaseModel):
async def run_script(
action: str,
inp: Input,
user: dict = Depends(UnionAuth(scopes=[] if str(settings.ALLOWED_SCOPE) is None else [settings.ALLOWED_SCOPE])),
user: dict = Depends(UnionAuth(scopes=[] if settings.ALLOWED_SCOPE is None else [settings.ALLOWED_SCOPE])),
):
"""runs a bash script, located in scripts/{action}. The script takes 2 arguments: git_ref and repo_url"""

Expand Down

0 comments on commit dd10f5b

Please sign in to comment.