+1
-2
@@ -3,7 +3,6 @@ package handler
|
||||
import (
|
||||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"honoka-chan/config"
|
||||
"honoka-chan/database"
|
||||
@@ -144,7 +143,7 @@ func ApiHandler(ctx *gin.Context) {
|
||||
}
|
||||
default:
|
||||
// fmt.Println("Fuck you!")
|
||||
err = errors.New("invalid option")
|
||||
// err = errors.New("invalid option")
|
||||
}
|
||||
|
||||
res, err = database.LevelDb.Get([]byte(key))
|
||||
|
||||
Reference in New Issue
Block a user