Skip to content

Commit e8af459

Browse files
authored
Update ContributeDetails.jsx
1 parent 7215b3d commit e8af459

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/component/modals/ContributeDetails.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const ContributeDetails = ({ superState, dispatcher }) => {
1717
const submit = async (e) => {
1818
try {
1919
e.preventDefault();
20-
const result = await axios.post(`http://127.0.0.1:5000/contribute?study=${study}&auth=${auth}&desc=${desc}&title=${title}&path=${path}&branch=${branch}`, { token: process.env.Token });
20+
const result = await axios.post(`http://127.0.0.1:5000/contribute?study=${study}&auth=${auth}&desc=${desc}&title=${title}&path=${path}&branch=${branch}`, { token: process.env.TOKEN });
2121
// eslint-disable-next-line
2222
console.log(process.env.Token);
2323
// eslint-disable-next-line

0 commit comments

Comments
 (0)