mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
9 lines
204 B
TypeScript
9 lines
204 B
TypeScript
import UserContext from "../../data/UserContext.js";
|
|
|
|
/** @gqlContext */
|
|
export type Ctx = Express.Request;
|
|
|
|
/** @gqlContext */
|
|
export function getUserContext(ctx: Ctx): UserContext {
|
|
return ctx.ctx;
|
|
}
|