fix: problem while getting storage type

This commit is contained in:
Ns2Kracy 2024-12-17 15:52:37 +08:00
parent c26cf4dbec
commit cfdb2685b1
No known key found for this signature in database
GPG Key ID: 6A9CFB6109E759C1

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