DB
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
import axios from "axios";
|
||||
import { config } from "../config";
|
||||
|
||||
const createProject = async (name: string) => {
|
||||
try {
|
||||
const response = await axios.put("http://localhost:3000/project/create", {
|
||||
const response = await axios.put(`${config.url}/project/create`, {
|
||||
name: name,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user