Skip to content

Commit 3f9318b

Browse files
author
Jhon
committed
feat(backend): ajuste na busca por ultimas compras
1 parent 8aa7aea commit 3f9318b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/app/Modules/ChatBot/UseCase/LastPurchaseChat/LastPurchaseChatUseCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ protected function formatToUser(array $lastPurchase): string
3434
$message .= "━━━━━━━━━━━━━━━━━\n\n";
3535
$message .= "📝 Produtos da Compras:\n\n";
3636

37+
return $message;
3738
foreach ($lastPurchase['products'] as $produto) {
3839
$name = substr($produto->name, 0, 30);
3940
if (strlen($name) === 30) {

0 commit comments

Comments
 (0)