From d793e2cff23e82750dad32a92d6b9eb558a9cab3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 3 Jun 2019 14:57:48 -0600 Subject: [PATCH] Update Activity.vue --- resources/assets/js/components/Activity.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/resources/assets/js/components/Activity.vue b/resources/assets/js/components/Activity.vue index b584cbddf..9658dde1a 100644 --- a/resources/assets/js/components/Activity.vue +++ b/resources/assets/js/components/Activity.vue @@ -113,11 +113,7 @@ export default { methods: { fetchNotifications() { - axios.get('/api/v1/notifications', { - params: { - pg: false - } - }) + axios.get('/api/v1/notifications') .then(res => { let data = res.data.filter(n => { if(n.type == 'share' && !status) { @@ -140,8 +136,7 @@ export default { } axios.get('/api/v1/notifications', { params: { - page: this.notificationCursor, - pg: false + page: this.notificationCursor } }).then(res => { if(res.data.length > 0) {