mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:36:03 -04:00
Fix some spelling mistakes / typos. (#7811)
This commit is contained in:
parent
53ee214f2f
commit
38e1fac886
31 changed files with 41 additions and 40 deletions
|
@ -68,13 +68,13 @@ class PaginationConfig(object):
|
|||
elif from_tok:
|
||||
from_tok = StreamToken.from_string(from_tok)
|
||||
except Exception:
|
||||
raise SynapseError(400, "'from' paramater is invalid")
|
||||
raise SynapseError(400, "'from' parameter is invalid")
|
||||
|
||||
try:
|
||||
if to_tok:
|
||||
to_tok = StreamToken.from_string(to_tok)
|
||||
except Exception:
|
||||
raise SynapseError(400, "'to' paramater is invalid")
|
||||
raise SynapseError(400, "'to' parameter is invalid")
|
||||
|
||||
limit = parse_integer(request, "limit", default=default_limit)
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ class EventSources(object):
|
|||
The returned token does not have the current values for fields other
|
||||
than `room`, since they are not used during pagination.
|
||||
|
||||
Retuns:
|
||||
Returns:
|
||||
Deferred[StreamToken]
|
||||
"""
|
||||
token = StreamToken(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue