I am stupid

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-01-19 15:41:29 +01:00
parent a21c93555e
commit 16de4f0a43
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -42,7 +42,7 @@ func API() http.Handler {
api.Use(jwtauth.Verifier(tokenAuth))
api.Use(jwtauth.Authenticator)
api.With(SetDBMiddleware).Post("/upload", RecieveFile)
api.With(SetDBMiddleware).Post("/upload", ReceiveFile)
api.With(SetDBMiddleware).Post("/parse", ZoneFiles)
})