mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
fix: problem while getting storage type (#2097)
This commit is contained in:
parent
c26cf4dbec
commit
6bbb0802aa
@ -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{})
|
||||
|
Loading…
x
Reference in New Issue
Block a user