removed unused code & added log message

This commit is contained in:
David Janowski 2023-05-24 23:11:20 +02:00
parent 2b5fd4843a
commit 15ee54553c

View File

@ -11,8 +11,6 @@ import (
"net/http"
)
const USER = "selloo"
func main() {
// Loads Config
@ -38,6 +36,8 @@ func main() {
// Initialize the e621API
e621Client := e621.NewClient(config.E621APIKey, config.E621Username)
log.Printf("Im ready!")
// Register the UserHandler with the "/user" route
http.HandleFunc("/user", api.UserHandler(ctx, driver, e621Client))