Browse Source

Update Activity.vue

Daniel Supernault 6 years ago
parent
commit
d793e2cff2
1 changed files with 2 additions and 7 deletions
  1. 2 7
      resources/assets/js/components/Activity.vue

+ 2 - 7
resources/assets/js/components/Activity.vue

@@ -113,11 +113,7 @@ export default {
 
 
 	methods: {
 	methods: {
 		fetchNotifications() {
 		fetchNotifications() {
-			axios.get('/api/v1/notifications', {
-				params: {
-					pg: false
-				}
-			})
+			axios.get('/api/v1/notifications')
 			.then(res => {
 			.then(res => {
 				let data = res.data.filter(n => {
 				let data = res.data.filter(n => {
 					if(n.type == 'share' && !status) {
 					if(n.type == 'share' && !status) {
@@ -140,8 +136,7 @@ export default {
 			}
 			}
 			axios.get('/api/v1/notifications', {
 			axios.get('/api/v1/notifications', {
 				params: {
 				params: {
-					page: this.notificationCursor,
-					pg: false
+					page: this.notificationCursor
 				}
 				}
 			}).then(res => {
 			}).then(res => {
 				if(res.data.length > 0) {
 				if(res.data.length > 0) {