Test google sheets
This commit is contained in:
parent
77102cea12
commit
cd93d327a5
|
@ -141,6 +141,16 @@ class GoogleSheetsIntegration implements DatasourcePlus {
|
||||||
this.client = new GoogleSpreadsheet(spreadsheetId)
|
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() {
|
getBindingIdentifier() {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue