Skip to content

Commit b44dab5

Browse files
authored
fix: update cookie name to substack.sid (#135)
2 parents dd1ef7b + 3a50bd9 commit b44dab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

credentials/SubstackApi.credentials.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class SubstackApi implements ICredentialType {
3939
type: 'generic',
4040
properties: {
4141
headers: {
42-
Cookie: '=connect.sid={{$credentials.apiKey}}',
42+
Cookie: '=substack.sid={{$credentials.apiKey}}',
4343
},
4444
},
4545
};
@@ -50,7 +50,7 @@ export class SubstackApi implements ICredentialType {
5050
url: '/api/v1/subscription',
5151
method: 'GET',
5252
headers: {
53-
Cookie: '=connect.sid={{$credentials.apiKey}}',
53+
Cookie: '=substack.sid={{$credentials.apiKey}}',
5454
},
5555
},
5656
};

0 commit comments

Comments
 (0)