variables must be defined

This commit is contained in:
Ulf Gebhardt 2023-05-03 13:29:56 +02:00
parent d3a2df2878
commit 4850923f17
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -35,9 +35,11 @@ export class Client_1_0 {
}
`
const variables = {}
try {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const { data, errors, headers, status } = await this.client.rawRequest(query)
const { data, errors, headers, status } = await this.client.rawRequest(query, variables)
logger.debug(`Response-Data:`, data, errors, headers, status)
if (data) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access