mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat(channel): add WeChat (weixin) adapter with QR code (#278)
* feat(channel): add WeChat (weixin) adapter with QR code * fix(channel): fix weixin block streaming * chore(channel): update weixin logo
This commit is contained in:
@@ -114,7 +114,7 @@ func (s *Service) SearchAccounts(ctx context.Context, query string, limit int) (
|
||||
}
|
||||
rows, err := s.queries.SearchAccounts(ctx, sqlc.SearchAccountsParams{
|
||||
Query: strings.TrimSpace(query),
|
||||
LimitCount: int32(limit),
|
||||
LimitCount: int32(limit), //nolint:gosec // limit is capped above
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user