mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-24 09:18:37 +02:00
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
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import { createServerFn } from "@tanstack/start"
|
||||
import { get } from "ronin"
|
||||
|
||||
export const getFeatureFlag = createServerFn(
|
||||
"GET",
|
||||
async (data: { name: string }) => {
|
||||
export const getFeatureFlag = createServerFn({ method: "GET" })
|
||||
.validator((input: string) => input)
|
||||
.handler(async ({ data }) => {
|
||||
const response = await get.featureFlag.with({
|
||||
name: data.name,
|
||||
name: data,
|
||||
})
|
||||
|
||||
return response
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user