mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-26 03:00:28 +00:00
Require the 'from' parameter for /notifications be an integer (#17283)
Co-authored-by: Erik Johnston <erikj@element.io>
This commit is contained in:
co-authored by
Erik Johnston
parent
199223062a
commit
afaf2d9388
@@ -688,7 +688,7 @@ class ModuleApiTestCase(BaseModuleApiTestCase):
|
||||
|
||||
channel = self.make_request(
|
||||
"GET",
|
||||
"/notifications?from=",
|
||||
"/notifications",
|
||||
access_token=tok,
|
||||
)
|
||||
self.assertEqual(channel.code, 200, channel.result)
|
||||
|
||||
Reference in New Issue
Block a user