Files
archived-linsa/web/app/actions.ts
Aslam e5a0332ec9 chore(start): update to alpha and fix editor image removed (#187)
* chore(start): update to alpha and fix editor image removed

* chore: fix image editor
2024-11-19 02:22:46 +07:00

13 lines
315 B
TypeScript

import { createServerFn } from "@tanstack/start"
import { get } from "ronin"
export const getFeatureFlag = createServerFn({ method: "GET" })
.validator((input: string) => input)
.handler(async ({ data }) => {
const response = await get.featureFlag.with({
name: data,
})
return response
})