mirror of https://github.com/Xhofe/alist
🐛 delete beta1 meta
parent
91f64161b2
commit
b46bf0dfc9
|
@ -32,7 +32,7 @@ func SaveMeta(ctx *fiber.Ctx) error {
|
||||||
|
|
||||||
func DeleteMeta(ctx *fiber.Ctx) error {
|
func DeleteMeta(ctx *fiber.Ctx) error {
|
||||||
path := ctx.Query("path")
|
path := ctx.Query("path")
|
||||||
path = utils.ParsePath(path)
|
//path = utils.ParsePath(path)
|
||||||
if err := model.DeleteMeta(path); err != nil {
|
if err := model.DeleteMeta(path); err != nil {
|
||||||
return ErrorResp(ctx, err, 500)
|
return ErrorResp(ctx, err, 500)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue