Skip to content

Commit

Permalink
Merge pull request #632 from enshkn/development
Browse files Browse the repository at this point in the history
Development to main for removing asyncronous calls for like and dislike story for karadut
  • Loading branch information
amineglr authored Jan 2, 2024
2 parents 9a66ff4 + 8ab1f68 commit 47cbaa1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public CompletableFuture<String> vectorizeEditRequest(Story story){
return CompletableFuture.completedFuture("Data sent to karadut");
}

@Async

public CompletableFuture<String> likedStory(Story story, User user, Integer likedStorySize) {
RecStoryLikeOrDislikeRequest likedRequest =
RecStoryLikeOrDislikeRequest.builder()
Expand All @@ -96,7 +96,7 @@ public CompletableFuture<String> likedStory(Story story, User user, Integer like
}
}

@Async

public CompletableFuture<String> dislikedStory(Story story, User user, Integer likedStorySize) {
RecStoryLikeOrDislikeRequest dislikedRequest =
RecStoryLikeOrDislikeRequest.builder()
Expand Down

0 comments on commit 47cbaa1

Please sign in to comment.