mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Small tweaks to error and toast messages (#2142)
Removed instances of "got" - aimed to make very small changes that arn't very stylistic/ opinionated just basic native english tweaks
This commit is contained in:
@@ -161,7 +161,7 @@ export async function requestOAuth2(this: IAllExecuteFunctions, credentialsType:
|
||||
const credentials = await this.getCredentials(credentialsType) as ICredentialDataDecryptedObject;
|
||||
|
||||
if (credentials === undefined) {
|
||||
throw new Error('No credentials got returned!');
|
||||
throw new Error('No credentials were returned!');
|
||||
}
|
||||
|
||||
if (credentials.oauthTokenData === undefined) {
|
||||
@@ -250,7 +250,7 @@ export async function requestOAuth1(this: IAllExecuteFunctions, credentialsType:
|
||||
const credentials = await this.getCredentials(credentialsType) as ICredentialDataDecryptedObject;
|
||||
|
||||
if (credentials === undefined) {
|
||||
throw new Error('No credentials got returned!');
|
||||
throw new Error('No credentials were returned!');
|
||||
}
|
||||
|
||||
if (credentials.oauthTokenData === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user