Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek authored and glpatcern committed Jun 24, 2021
1 parent fb32096 commit 2a5d78c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ PyJWT
requests
tuspy
prometheus-flask-exporter
cs3apis>=0.1.dev47
cs3apis>=0.1.dev66
2 changes: 1 addition & 1 deletion src/cs3iface.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def stat(endpoint, fileid, userid, versioninv=0):
ref = cs3spr.Reference(path=fileid)
else:
# assume we have an opaque fileid
ref = cs3spr.Reference(id=cs3spr.ResourceId(storage_id=endpoint, opaque_id=fileid))
ref = cs3spr.Reference(resource_id=cs3spr.ResourceId(storage_id=endpoint, opaque_id=fileid))
statInfo = ctx['cs3stub'].Stat(request=cs3sp.StatRequest(ref=ref),
metadata=[('x-access-token', userid)])
tend = time.time()
Expand Down

0 comments on commit 2a5d78c

Please sign in to comment.