瀏覽代碼

Update Activity.vue

Daniel Supernault 6 年之前
父節點
當前提交
d793e2cff2
共有 1 個文件被更改,包括 2 次插入7 次删除
  1. 2 7
      resources/assets/js/components/Activity.vue

+ 2 - 7
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) {