Skip to content

Commit

Permalink
added dead-letter exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
marcussss1 committed Jun 1, 2023
1 parent f66b3f2 commit db19c50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/microservices/user/delivery/http/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ func (u userHandler) UserAddContactHandler(ctx echo.Context) error {

func (u userHandler) SearchUsersHandler(ctx echo.Context) error {
string := ctx.Param("string")
session := ctx.Get("session").(model.Session)

searchContacts, err := u.usecase.GetSearchUsers(context.TODO(), string)
searchContacts, err := u.usecase.GetSearchUsers(context.TODO(), string, session.UserId)
if err != nil {
return err
}
Expand Down

0 comments on commit db19c50

Please sign in to comment.