fix(seven Node): Rename sms77 to seven, fix credentials test (#7180)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Elias Meire
2023-09-19 10:26:53 +02:00
committed by GitHub
parent 8b3aa0d68f
commit cf776b8f17
6 changed files with 28 additions and 13 deletions

View File

@@ -1,10 +1,10 @@
import type { IExecuteFunctions, IHookFunctions, IDataObject, JsonObject } from 'n8n-workflow';
import type { IDataObject, IExecuteFunctions, IHookFunctions, JsonObject } from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
import type { OptionsWithUri } from 'request';
/**
* Make an API request to Sms77
* Make an API request to seven
*
* @param {IHookFunctions | IExecuteFunctions} this
* @param {object | undefined} data
@@ -21,7 +21,7 @@ export async function sms77ApiRequest(
SentWith: 'n8n',
},
qs,
uri: `https://gateway.sms77.io/api${endpoint}`,
uri: `https://gateway.seven.io/api${endpoint}`,
json: true,
method,
};