mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-24 06:16:25 +02:00
Keep demo values fixed
This commit is contained in:
parent
53906b1acf
commit
e032f6f993
5 changed files with 83 additions and 42 deletions
|
@ -2,6 +2,6 @@ import { Poll } from "@prisma/client";
|
|||
import axios from "axios";
|
||||
|
||||
export const createDemo = async (): Promise<Poll> => {
|
||||
const { data } = await axios.post<Poll>("/api/poll/create-demo");
|
||||
const { data } = await axios.post<Poll>("/api/poll/demo");
|
||||
return data;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue