chore(API): Follow up design for credential callback (#12798)

Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
This commit is contained in:
Dana
2025-01-27 16:42:45 +01:00
committed by GitHub
parent 6dd90c8764
commit 0979a99309
7 changed files with 39 additions and 29 deletions

View File

@@ -116,7 +116,7 @@ describe('OAuth2 API', () => {
.query({ code: 'auth_code', state })
.expect(200);
expect(renderSpy).toHaveBeenCalledWith('oauth-callback', { imagePath: 'n8n-logo.png' });
expect(renderSpy).toHaveBeenCalledWith('oauth-callback');
const updatedCredential = await Container.get(CredentialsHelper).getCredentials(
credential,