chore: ts types
This commit is contained in:
@@ -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) });
|
||||
|
||||
Reference in New Issue
Block a user