Skip to content

Commit 7e13aee

Browse files
committed
Adapt to reva changes from refactor/cleanup-spaceslevel
1 parent eb0c37a commit 7e13aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thumbnails/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func (s *Thumbnails) davUserContext(next http.Handler) http.Handler {
174174
urlPath, _ := url.PathUnescape(r.URL.Path)
175175

176176
storageSpaceID, resourcePath := router.ShiftPath(urlPath)
177-
_, spacePath, ok := spaces.DecodeStorageSpaceID(storageSpaceID)
177+
_, spacePath, ok := spaces.DecodeStorageSpaceIDToPath(storageSpaceID)
178178
if !ok {
179179
s.writeHTTPError(w, errtypes.NotFound(""))
180180
return

0 commit comments

Comments
 (0)