added pending waiting
This commit is contained in:
@@ -20,6 +20,7 @@ def get_customer_posts(customer_id, page):
|
||||
customer_posts = (db.session
|
||||
.query(Customer_Customer_Social)
|
||||
.filter(Customer_Customer_Social.customer_id == customer_id)
|
||||
.order_by(Customer_Customer_Social.id.desc())
|
||||
.limit(per_page_amount).offset(offset_limit))
|
||||
customer_social_schema = Customer_Customer_Social_schema(many=True)
|
||||
return jsonify(customer_social_schema.dump(customer_posts))
|
||||
|
||||
Reference in New Issue
Block a user