mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
Fix linting and testfile
This commit is contained in:
parent
e0412a66b9
commit
aae68a2d07
|
|
@ -93,7 +93,7 @@ func (s *filterStatements) insertFilter(
|
||||||
) (filterID string, err error) {
|
) (filterID string, err error) {
|
||||||
var existingFilterID string
|
var existingFilterID string
|
||||||
|
|
||||||
// Serialize json
|
// Serialise json
|
||||||
filterJSON, err := json.Marshal(filter)
|
filterJSON, err := json.Marshal(filter)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
|
|
||||||
2
testfile
2
testfile
|
|
@ -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
|
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 /register returns the same device_id as that in the request
|
||||||
POST /login 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue