Skip to content

Commit

Permalink
fix: problem while getting storage type (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ns2Kracy authored Dec 17, 2024
1 parent c26cf4d commit 6bbb080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/v1/recover.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

func GetRecoverStorage(ctx echo.Context) error {
t := ctx.Param("type")
t := strings.TrimSuffix(ctx.Param("type"), "/")
currentTime := time.Now().UTC()
currentDate := time.Now().UTC().Format("2006-01-02")
notify := make(map[string]interface{})
Expand Down

0 comments on commit 6bbb080

Please sign in to comment.