fix: problem while getting storage type (#2097)

This commit is contained in:
Ns2Kracy
2024-12-17 15:53:04 +08:00
committed by GitHub
parent c26cf4dbec
commit 6bbb0802aa

View File

@@ -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{})