mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-12 01:48:49 +00:00
added a condition to call adding a message
This commit is contained in:
parent
02eb8e3634
commit
17055273bf
@ -178,12 +178,15 @@ public class ProductService : IProductService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (currentDataType == SearchEventType.Message)
|
||||||
|
{
|
||||||
_wishlistsService.AddMessageToPersonalWishlistAsync(wishlistId, new MessageCreateDto()
|
_wishlistsService.AddMessageToPersonalWishlistAsync(wishlistId, new MessageCreateDto()
|
||||||
{
|
{
|
||||||
Text = messageBuffer.Text,
|
Text = messageBuffer.Text,
|
||||||
}, cancellationToken);
|
}, cancellationToken);
|
||||||
mqchecker = false;
|
mqchecker = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private SearchEventType DetermineDataType(string dataTypeHolder)
|
private SearchEventType DetermineDataType(string dataTypeHolder)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user