Skip to content

Commit 6f212c4

Browse files
authored
unknown endpoints: allow PUT /_matrix/media/v3/upload (#638)
1 parent 68c7643 commit 6f212c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unknown_endpoints_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ func TestUnknownEndpoints(t *testing.T) {
8181
// v3 should exist, but not v3/unknown.
8282
queryUnknownEndpoint(t, alice, []string{"_matrix", "media", "v3", "unknown"})
8383

84-
queryUnknownMethod(t, alice, "PUT", []string{"_matrix", "media", "v3", "upload"})
84+
queryUnknownMethod(t, alice, "PATCH", []string{"_matrix", "media", "v3", "upload"})
8585
})
8686
}

0 commit comments

Comments
 (0)