Files
Gabriel Brown 2dfa97ee4f
Build and Push Next App / quality (push) Failing after 48s
Build and Push Next App / build-next (push) Has been skipped
Add agent workflows & stuff
2026-06-21 21:15:15 -05:00

16 lines
370 B
TypeScript

import { query } from './_generated/server';
import { getRequiredUserId } from './model';
export const getStatus = query({
args: {},
handler: async (ctx) => {
await getRequiredUserId(ctx);
return {
encryptionConfigured: Boolean(
process.env.SPOON_ENCRYPTION_KEY?.trim() ??
process.env.INSTANCE_SECRET?.trim(),
),
};
},
});