mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-26 13:12:13 +03:00
Gateway: typing: upload()
This commit is contained in:
parent
d327dea943
commit
d0f2d6a5bc
@ -220,7 +220,7 @@ def get_decompressed_message() -> bytes:
|
||||
return message_body
|
||||
|
||||
|
||||
def parse_and_error_handle(data: str) -> str:
|
||||
def parse_and_error_handle(data: bytes) -> str:
|
||||
"""
|
||||
Parse an incoming message and handle errors.
|
||||
|
||||
@ -304,7 +304,7 @@ def parse_and_error_handle(data: str) -> str:
|
||||
|
||||
|
||||
@app.route('/upload/', method=['OPTIONS', 'POST'])
|
||||
def upload():
|
||||
def upload() -> str:
|
||||
"""
|
||||
Handle an /upload/ request.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user