diff --git a/public/js/activity.js b/public/js/activity.js index 0bdcd3610..f2f160b2d 100644 Binary files a/public/js/activity.js and b/public/js/activity.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 567fa5113..2084e4076 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ 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) {