You've already forked snikket-web-portal
Use PUT method instead of POST, as expected by API
This commit is contained in:
committed by
Jonas Schäfer
parent
390ecded42
commit
05caf38d37
@@ -1145,7 +1145,7 @@ class ProsodyClient:
|
||||
*,
|
||||
session: aiohttp.ClientSession,
|
||||
) -> bool:
|
||||
async with session.post(
|
||||
async with session.put(
|
||||
self._xep227_endpoint("/import?stores=roster,vcard,pep,pep_data"), # noqa:E501
|
||||
data=user_xml,
|
||||
) as resp:
|
||||
|
||||
Reference in New Issue
Block a user