Transmit header before creating user list
This commit is contained in:
parent
cfd09663e7
commit
a2f386cd2f
2 changed files with 4 additions and 4 deletions
|
@ -110,10 +110,10 @@ class Lists extends ContactEndpoint
|
||||||
$ids = array_reverse($ids);
|
$ids = array_reverse($ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
|
||||||
|
|
||||||
self::setLinkHeader();
|
self::setLinkHeader();
|
||||||
|
|
||||||
|
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
||||||
|
|
||||||
$this->response->exit('lists', ['lists' => $return]);
|
$this->response->exit('lists', ['lists' => $return]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,10 +110,10 @@ class Lists extends ContactEndpoint
|
||||||
$ids = array_reverse($ids);
|
$ids = array_reverse($ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
|
||||||
|
|
||||||
self::setLinkHeader();
|
self::setLinkHeader();
|
||||||
|
|
||||||
|
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
||||||
|
|
||||||
$this->response->exit('lists', ['lists' => $return]);
|
$this->response->exit('lists', ['lists' => $return]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue