Bring Frontdesk service-queue console to Queue handoff parity.
Deploy Ladill Frontdesk / deploy (push) Successful in 47s
Deploy Ladill Frontdesk / deploy (push) Successful in 47s
Match Care/Queue hand-off UX so visitors keep their ticket number across services. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -108,9 +108,13 @@ class QueueClient
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $payload
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function consoleAction(string $owner, string $counterUuid, array $payload): void
|
||||
public function consoleAction(string $owner, string $counterUuid, array $payload): array
|
||||
{
|
||||
$this->http($owner)->post($this->base().'/counters/'.$counterUuid.'/console', $payload)->throw();
|
||||
$response = $this->http($owner)->post($this->base().'/counters/'.$counterUuid.'/console', $payload);
|
||||
$response->throw();
|
||||
|
||||
return (array) ($response->json('data') ?? []);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user