05/29 Update shared items displayed on Grantee items
This commit is contained in:
@@ -101,6 +101,7 @@ def list_outgoing():
|
||||
d = s.to_dict()
|
||||
recipient = db.session.get(User, s.recipient_id) if s.recipient_id else None
|
||||
d['recipient_name'] = recipient.email if recipient else s.recipient_email
|
||||
d['recipient_public_key'] = recipient.sharing_public_key if recipient else None
|
||||
result.append(d)
|
||||
return jsonify(result), 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user