This commit is contained in:
Daniel 2021-06-01 12:57:07 +02:00
parent 1a4c98c93e
commit bd46a92359
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ func (e *Endpoint) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// Wait for the owning module to be ready.
if !moduleIsReady(e.BelongsTo) {
http.Error(w, "The API endpoint not ready yet. Please try again later.", http.StatusServiceUnavailable)
http.Error(w, "The API endpoint is not ready yet. Please try again later.", http.StatusServiceUnavailable)
return
}