disable import handler for now
Signed-off-by: Ben Hall <ben@benh.codes>
This commit is contained in:
parent
0c21d57e2b
commit
e67bd39896
@ -23,6 +23,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func ImportHandler(ctx *gin.Context) {
|
func ImportHandler(ctx *gin.Context) {
|
||||||
|
ctx.JSON(401, "This endpoint is disabled")
|
||||||
|
}
|
||||||
|
func Importv2Handler(ctx *gin.Context) {
|
||||||
// Parse request body from multipart form
|
// Parse request body from multipart form
|
||||||
queryCtx, cancel := context.WithTimeout(context.Background(), time.Minute*1500)
|
queryCtx, cancel := context.WithTimeout(context.Background(), time.Minute*1500)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user