Fix server key API URLs

This commit is contained in:
Neil Alexander 2020-05-26 15:53:47 +01:00
parent 0a3d2fdf0d
commit 1a29596f2e

View file

@ -11,10 +11,10 @@ import (
const ( const (
// RoomserverPerformJoinPath is the HTTP path for the PerformJoin API. // RoomserverPerformJoinPath is the HTTP path for the PerformJoin API.
ServerKeyInputPublicKeyPath = "/api/serverkeyapi/inputPublicKey" ServerKeyInputPublicKeyPath = "/serverkeyapi/inputPublicKey"
// RoomserverPerformLeavePath is the HTTP path for the PerformLeave API. // RoomserverPerformLeavePath is the HTTP path for the PerformLeave API.
ServerKeyQueryPublicKeyPath = "/api/serverkeyapi/queryPublicKey" ServerKeyQueryPublicKeyPath = "/serverkeyapi/queryPublicKey"
) )
type InputPublicKeysRequest struct { type InputPublicKeysRequest struct {