diff --git a/graphql.go b/graphql.go index fa4c206f..79251a16 100644 --- a/graphql.go +++ b/graphql.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "log" "net/http" "reflect" @@ -24,7 +23,6 @@ func init() { // Bind name for the closure typeName := name - fmt.Println(typeName) rootQueryFields[typeName] = &graphql.Field{ Args: graphql.FieldConfigArgument{ "id": &graphql.ArgumentConfig{ diff --git a/pages/apiview/api.pixy b/pages/apiview/api.pixy index 44f2af54..50bcf447 100644 --- a/pages/apiview/api.pixy +++ b/pages/apiview/api.pixy @@ -1,7 +1,17 @@ component API(types []string) .api-docs-page h1 API + + h2 Endpoints + ul + li + strong REST: + span https://notify.moe/api + li + strong GraphQL: + span https://notify.moe/graphql + h2 Types table //- thead //- tr