fix profiles field not showing up on responses
parent
520793ec38
commit
e8a53541e8
|
@ -118,6 +118,7 @@ export class Client {
|
||||||
const rawResponse: TCResponseRaw = {
|
const rawResponse: TCResponseRaw = {
|
||||||
ok: res?.ok ?? false,
|
ok: res?.ok ?? false,
|
||||||
...res?.responses[0],
|
...res?.responses[0],
|
||||||
|
profiles: res?.profiles,
|
||||||
};
|
};
|
||||||
|
|
||||||
resolve(new creator(rawResponse));
|
resolve(new creator(rawResponse));
|
||||||
|
@ -161,6 +162,7 @@ export class Client {
|
||||||
const individualResponse: TCResponseRaw = {
|
const individualResponse: TCResponseRaw = {
|
||||||
ok: res?.ok ?? false,
|
ok: res?.ok ?? false,
|
||||||
...res?.responses[index],
|
...res?.responses[index],
|
||||||
|
profiles: res?.profiles,
|
||||||
};
|
};
|
||||||
|
|
||||||
c.resolve(new c.creator(individualResponse));
|
c.resolve(new c.creator(individualResponse));
|
||||||
|
|
Loading…
Reference in New Issue