Skip to content

Commit c08f19e

Browse files
committed
Interactions post action fixed
1 parent 9a796fb commit c08f19e

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

User/HttpUserRepository.php

+9-6
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,15 @@ public function addInteraction(Interaction $interaction)
3333
$response = $this
3434
->httpClient
3535
->get(
36-
'/interactions',
37-
'get',
38-
Http::getQueryValues($this),
39-
[
40-
'interaction' => $interaction->toArray(),
41-
]);
36+
sprintf(
37+
'/%s/interactions',
38+
$this->getAppUUID()->composeUUID()
39+
),
40+
'post',
41+
[],
42+
$interaction->toArray(),
43+
Http::getApisearchHeaders($this)
44+
);
4245

4346
self::throwTransportableExceptionIfNeeded($response);
4447
}

0 commit comments

Comments
 (0)