chore(API): Add styling to credential callback and autoclose window (#12648)

This commit is contained in:
Dana
2025-01-21 15:21:42 +01:00
committed by GitHub
parent 223ad7d71a
commit fb4cb5afbb
5 changed files with 91 additions and 12 deletions

View File

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