Skip to content

Commit

Permalink
Merge pull request #330 from MerginMaps/fix_download_cmd
Browse files Browse the repository at this point in the history
Set proper project version type in flask cmd
  • Loading branch information
MarcelGeo authored Nov 13, 2024
2 parents 777e0b6 + 83cfacf commit c8a7654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mergin/sync/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create(name, namespace, user): # pylint: disable=W0612

@project.command()
@click.argument("project-name")
@click.option("--version", required=True)
@click.option("--version", type=int, required=True)
@click.option("--directory", type=click.Path(), required=True)
def download(project_name, version, directory): # pylint: disable=W0612
"""Download files for project at particular version"""
Expand Down

0 comments on commit c8a7654

Please sign in to comment.