Skip to content

Commit 70bdaef

Browse files
sisppmrowla
authored andcommitted
lfs: default to basic transfer API
1 parent 7bf87d7 commit 70bdaef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scmrepo/git/lfs/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async def _get_one(from_path: str, to_path: str, **kwargs):
196196
callback.relative_update()
197197

198198
resp_data = await self._batch_request(objects, **kwargs)
199-
if resp_data.get("transfer") != "basic":
199+
if resp_data.get("transfer", "basic") != "basic":
200200
raise LFSError("Unsupported LFS transfer type")
201201
coros = []
202202
for data in resp_data.get("objects", []):

0 commit comments

Comments
 (0)