We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c26cf4d commit 6bbb080Copy full SHA for 6bbb080
route/v1/recover.go
@@ -17,7 +17,7 @@ import (
17
)
18
19
func GetRecoverStorage(ctx echo.Context) error {
20
- t := ctx.Param("type")
+ t := strings.TrimSuffix(ctx.Param("type"), "/")
21
currentTime := time.Now().UTC()
22
currentDate := time.Now().UTC().Format("2006-01-02")
23
notify := make(map[string]interface{})
0 commit comments