jbilcke-hf's picture
jbilcke-hf HF staff
fix typo
893530c
raw
history blame
384 Bytes
"use server"
import { ClapProject } from "@aitube/clap"
import { editClapVideos as apiEditClapVideos } from "@aitube/client"
import { getToken } from "./getToken"
export async function editClapVideos({
clap,
}: {
clap: ClapProject
}): Promise<ClapProject> {
const newClap: ClapProject = await apiEditClapVideos({
clap,
token: await getToken()
})
return newClap
}