diff --git a/lib/clients/smapi-client/smapiApiClient.ts b/lib/clients/smapi-client/smapiApiClient.ts index 201c4547..7591fc27 100644 --- a/lib/clients/smapi-client/smapiApiClient.ts +++ b/lib/clients/smapi-client/smapiApiClient.ts @@ -67,7 +67,7 @@ export class SmapiApiClient implements ApiClient { private convertUrlEncodedToJson(urlEncoded: string | undefined): {[key: string]: string} { var result: {[key: string]: string} = {}; - urlEncoded?.split('&').forEach(function(entry) { + urlEncoded?.split('&').forEach((entry) => { const keyValueSplit = entry.split('='); if (keyValueSplit && keyValueSplit.length > 1) { result[keyValueSplit[0]] = decodeURIComponent(keyValueSplit[1] || '');