chore: ts types

This commit is contained in:
karishmas6
2024-09-17 22:39:28 +05:30
parent 719093b575
commit 40b469fb8f

View File

@@ -1,5 +1,6 @@
import { default as axios } from "axios";
// todo: proper typescript types for params
export const handleUploadCredentials = async (credentials: any) => {
try {
await axios.post('http://localhost:8080/integration/upload-credentials', { credentials: JSON.parse(credentials) });