lint fix GoogleAuth and GoogleVertexAIEmbedding code

This commit is contained in:
Yongtae
2023-08-05 03:29:03 +09:00
parent c3b90e3875
commit 3154399404
2 changed files with 6 additions and 6 deletions
@@ -22,4 +22,4 @@ class GoogleVertexAuth implements INodeCredential {
}
}
module.exports = { credClass: GoogleVertexAuth }
module.exports = { credClass: GoogleVertexAuth }
@@ -46,7 +46,7 @@ class GoogleVertexAIEmbedding_Embeddings implements INode {
type: 'string',
additionalParams: true,
optional: true
},
}
]
}
@@ -56,14 +56,14 @@ class GoogleVertexAIEmbedding_Embeddings implements INode {
const credentialData = await getCredentialData(nodeData.credential ?? '', options)
const googleApplicationCredentialFilePath = getCredentialParam('googleApplicationCredentialFilePath', credentialData, nodeData)
const authOptions:GoogleAuthOptions = {
keyFile: googleApplicationCredentialFilePath,
};
const authOptions: GoogleAuthOptions = {
keyFile: googleApplicationCredentialFilePath
}
if (projectID) authOptions.projectId = projectID
const obj: GoogleVertexAIEmbeddingsParams = {
authOptions,
authOptions
}
if (location) obj.location = location