mirror of
https://github.com/pikami/cosmium.git
synced 2025-03-04 17:07:02 +00:00
Fixed issue with wrong signature generation for pkrange requests
This commit is contained in:
parent
d86bac7d79
commit
c2c9dc03b3
@ -75,7 +75,8 @@ func requestToResourceId(c *gin.Context) string {
|
||||
|
||||
isFeed := c.Request.Header.Get("A-Im") == "Incremental Feed"
|
||||
if resourceType == "pkranges" && isFeed {
|
||||
resourceId = collId
|
||||
// CosmosSDK replaces '/' with '-' in resource id requests
|
||||
resourceId = strings.Replace(collId, "-", "/", -1)
|
||||
}
|
||||
|
||||
return resourceId
|
||||
|
Loading…
x
Reference in New Issue
Block a user