1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Test google sheets

This commit is contained in:
Adria Navarro 2023-05-16 10:02:11 +02:00
parent 77102cea12
commit cd93d327a5

View file

@ -141,6 +141,16 @@ class GoogleSheetsIntegration implements DatasourcePlus {
this.client = new GoogleSpreadsheet(spreadsheetId)
}
async testConnection() {
try {
await this.connect()
await this.client.loadInfo()
return true
} catch (e: any) {
return { error: e.message as string }
}
}
getBindingIdentifier() {
return ""
}