def not_liked_article(): article = all_articles[0] not_liked_articles.append(article) all_articles.pop(0) return jsonify({ 'status': 'success', }), 200
def unlikedArticle(): article = all_articles[0] not_liked_articles.append(article) all_articles.pop(0) return jsonify({ 'message': 'success' }), 201
def disliked_article(): article = all_articles[0] disliked_articles.append(article) all_articles.pop(0) return jsonify({"status": "success"}), 201