mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-15 14:52:06 +03:00
Gateway: typing: upload()
This commit is contained in:
parent
9be3cd82d8
commit
5939e7c889
@ -188,7 +188,7 @@ def get_decompressed_message() -> bytes:
|
|||||||
return message_body
|
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.
|
Parse an incoming message and handle errors.
|
||||||
|
|
||||||
@ -272,7 +272,7 @@ def parse_and_error_handle(data: str) -> str:
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/upload/', method=['OPTIONS', 'POST'])
|
@app.route('/upload/', method=['OPTIONS', 'POST'])
|
||||||
def upload():
|
def upload() -> str:
|
||||||
"""
|
"""
|
||||||
Handle an /upload/ request.
|
Handle an /upload/ request.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user