File size: 341 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
// @flow
import type { GraphQLContext } from '../../';
import type { DBThread } from 'shared/types';
import { signThread } from 'shared/imgix';
export default (thread: DBThread, _: any, ctx: GraphQLContext) => {
const signedThread = signThread(thread);
return {
...signedThread.content,
body: signedThread.content.body,
};
};
|