t3-code-android-nightly/.repos/alchemy-effect/packages/alchemy/test/AWS/AppSync/authorizer-handler.ts
Julius Marminge 108e01746c
Upgrade Effect and Alchemy betas (#4643)
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
2026-07-27 16:21:02 +02:00

10 lines
295 B
TypeScript

/**
* AppSync Lambda authorizer fixture: authorizes any request whose
* authorization token equals "let-me-in".
*/
const handler = async (event: { authorizationToken?: string }) => ({
isAuthorized: event?.authorizationToken === "let-me-in",
});
export { handler };
export default handler;