Fix API paths

This commit is contained in:
Neil Alexander 2020-05-22 14:14:39 +01:00
parent 0978630b55
commit 06d5f1e6dc
6 changed files with 12 additions and 22 deletions

View file

@ -55,7 +55,7 @@ type EDUServerInputAPI interface {
}
// EDUServerInputTypingEventPath is the HTTP path for the InputTypingEvent API.
const EDUServerInputTypingEventPath = "/api/eduserver/input"
const EDUServerInputTypingEventPath = "/eduserver/input"
// NewEDUServerInputAPIHTTP creates a EDUServerInputAPI implemented by talking to a HTTP POST API.
func NewEDUServerInputAPIHTTP(eduServerURL string, httpClient *http.Client) (EDUServerInputAPI, error) {