Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Apr 3, 2023
1 parent dca8a13 commit 4d6317c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/grpc/services/gateway/storageprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,9 @@ func versionKey(req *provider.InitiateFileDownloadRequest) string {
return ""
}
val := req.Opaque.Map["versionKey"]
if val == nil {
return ""
}
return string(val.Value)
}

Expand Down

0 comments on commit 4d6317c

Please sign in to comment.