fix(apiclient): Ensure mandatory parameter in CloudlyApiClient constructor

This commit is contained in:
2024-11-18 17:48:26 +01:00
parent fe6bfc0a83
commit 5a3ddcf39b
5 changed files with 13 additions and 3 deletions

View File

@ -20,7 +20,7 @@ export class CloudlyApiClient {
plugins.servezoneInterfaces.requests.server.IRequest_TriggerServerAction['request']
>();
constructor(optionsArg?: {
constructor(optionsArg: {
registerAs: TClientType;
cloudlyUrl?: string;
}) {