// import app from '../app' export default function (options = {}) { return async (context: any): Promise => { const data = context.data data.sender = context.params['identity-provider'].userId data.receiver = context.params['identity-provider'].userId context.data = data return context } }