pcgamedb/server/handler/clean_game.go

16 lines
224 B
Go
Raw Normal View History

2024-09-24 06:17:11 -04:00
package handler
import (
"net/http"
2024-11-15 02:02:45 -05:00
2024-11-20 06:09:04 -05:00
"pcgamedb/log"
"pcgamedb/task"
2024-09-24 06:17:11 -04:00
"github.com/gin-gonic/gin"
)
func CleanGameHandler(ctx *gin.Context) {
task.Clean(log.TaskLogger)
ctx.JSON(http.StatusOK, gin.H{"status": "ok"})
}