Skip to content

Commit 8cdb6a3

Browse files
committed
Fix no need for username
1 parent 022d1a8 commit 8cdb6a3

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/bin/qfieldcloud-cli

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,9 @@ def login(ctx, username, password) -> None:
117117
help="Includes the public project in the list. Default: False",
118118
)
119119
@click.pass_context
120-
def list_projects(ctx, username, include_public):
120+
def list_projects(ctx, include_public):
121121
"""List QFieldCloud projects."""
122122
projects = ctx.obj["client"].list_projects(
123-
username=username,
124123
include_public=include_public,
125124
)
126125

src/qfieldcloud_sdk/sdk.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def list_projects(
5555
"GET",
5656
"projects",
5757
params={
58-
"username": username or "",
5958
"include-public": "1" if include_public else "0",
6059
},
6160
)

0 commit comments

Comments
 (0)