update amo repo method
This commit is contained in:
parent
b6e53fdff7
commit
3fc5433afe
@ -31,7 +31,7 @@ func NewAmoRepository(deps Deps) *AmoRepository {
|
||||
|
||||
func (r *AmoRepository) GettingUserWithPagination(ctx context.Context, req *model.PaginationReq, accountID string) (*model.UserListResp, error) {
|
||||
rows, err := r.queries.GetUsersWithPagination(ctx, sqlcgen.GetUsersWithPaginationParams{
|
||||
Column1: req.Page,
|
||||
Column2: req.Page,
|
||||
Limit: req.Size,
|
||||
Accountid: accountID,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user