mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
9 lines
278 B
TypeScript
9 lines
278 B
TypeScript
import { MiddlewareFn } from 'type-graphql'
|
|
|
|
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
export const registerMiddleware: MiddlewareFn = async ({ root, args, context, info }, next) => {
|
|
const result = await next()
|
|
// do something here
|
|
return result
|
|
}
|