inbox except
parent
c63b21cdab
commit
95b677ce99
|
@ -45,6 +45,9 @@ class Inbox(Resource):
|
|||
self.args = self.post_parser.parse_args()
|
||||
json_payload = request.get_json()
|
||||
actor = json_payload["actor"]
|
||||
message = json_payload["object"]["content"]
|
||||
try:
|
||||
message = json_payload["object"]["content"]
|
||||
except:
|
||||
logger.info(f"Received unexpected invox payload: {json_payload}")
|
||||
logger.info(f"Fediseer Inbox Received: From: {actor} | {message}")
|
||||
return {"message": "delivered"}, 200
|
||||
|
|
Loading…
Reference in New Issue