feat: set error as any

This commit is contained in:
karishmas6
2024-10-17 17:31:14 +05:30
parent 4fbd378385
commit 297acf7e86

View File

@@ -70,7 +70,7 @@ const updateGoogleSheetId = async () => {
{ withCredentials: true }
);
console.log('Google Sheet ID updated:', response.data);
} catch (error) {
} catch (error: any) {
console.error('Error updating Google Sheet ID:', error.response?.data?.message || error.message);
}
};