5
This commit is contained in:
@@ -104,7 +104,7 @@ def main():
|
||||
barrier.wait(timeout=30)
|
||||
path = (f"/api/v1/chats/{chat['id']}/attachments"
|
||||
f"?filename=memory-{index}.png")
|
||||
return client.call('POST', path, 201, actor=alice, raw=payload,
|
||||
return client.call('POST', path, 202, actor=alice, raw=payload,
|
||||
headers={'Content-Type': 'image/png'}, schema='Attachment')['json']['id']
|
||||
|
||||
monitor_thread = threading.Thread(target=monitor, daemon=True)
|
||||
|
||||
Reference in New Issue
Block a user