send task: drop obsolete orig_obj HTTP param

see bba9cb2d16
in-memory-cache
Ryan Barrett 2024-10-11 12:02:05 -07:00
rodzic bba9cb2d16
commit f53179d339
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -1741,12 +1741,8 @@ def send_task():
logger.debug(f' AS1: {json_dumps(obj.as1, indent=2)}')
sent = None
try:
if orig_obj := form.get('orig_obj'):
orig_obj_id = ndb.Key(urlsafe=form['orig_obj']).id()
else:
orig_obj_id = form.get('orig_obj_id')
sent = PROTOCOLS[protocol].send(obj, url, from_user=user,
orig_obj_id=orig_obj_id)
orig_obj_id=form.get('orig_obj_id'))
except BaseException as e:
code, body = util.interpret_http_exception(e)
if not code and not body: