Fix linting and testfile

This commit is contained in:
Cnly 2019-07-23 00:28:46 +08:00
parent e0412a66b9
commit aae68a2d07
2 changed files with 3 additions and 1 deletions

View file

@ -93,7 +93,7 @@ func (s *filterStatements) insertFilter(
) (filterID string, err error) {
var existingFilterID string
// Serialize json
// Serialise json
filterJSON, err := json.Marshal(filter)
if err != nil {
return "", err

View file

@ -151,3 +151,5 @@ Inbound federation of state requires event_id as a mandatory paramater
Inbound federation of state_ids requires event_id as a mandatory paramater
POST /register returns the same device_id as that in the request
POST /login returns the same device_id as that in the request
Lazy loading parameters in the filter are strictly boolean
Check creating invalid filters returns 4xx