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:
maxtkacz
2021-08-27 17:25:54 +02:00
committed by GitHub
parent 69745c93d8
commit fb71324a53
4 changed files with 10 additions and 10 deletions

View File

@@ -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) {