New: Headless Commerce with Remix! read more

getSuperadminContext

getSuperadminContext

Creates a RequestContext configured for the default Channel with the activeUser set as the superadmin user. Useful for populating data.

Signature

function getSuperadminContext(app: INestApplicationContext): Promise<RequestContext>

Parameters

app

parameter
type:
INestApplicationContext