Skip to content

Commit 3b9a159

Browse files
committed
fix scopes
1 parent b51dc71 commit 3b9a159

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OpenFlowNodeRED/src/nodered/nodes/googleauth_nodes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function GetGoogleAuthClient(config: Igoogleauth_credentials): any {
1717
}
1818
if (!NoderedUtil.IsNullEmpty(config.serviceaccount)) {
1919
result.auth = new GoogleAuth({
20-
scopes: config.scopes,
20+
scopes: config.scopes.split(",").join(" "),
2121
credentials: config.serviceaccount
2222
});
2323
}

0 commit comments

Comments
 (0)