Skip to content

Commit 70537fa

Browse files
ImTotemclaude
andcommitted
fix(infra): use UUID for n8n credential id instead of hardcoded '1'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9a162ce commit 70537fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/scripts/init_n8n.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ setup_credential() {
6464
import json, sys
6565
sa = json.load(open('$GOOGLE_SERVICE_ACCOUNT_FILE'))
6666
cred = [{
67-
'id': '1',
67+
'id': str(__import__('uuid').uuid4()),
6868
'name': 'Google Sheets SA',
6969
'type': 'googleApi',
7070
'data': {

0 commit comments

Comments
 (0)