Update vue components, namespace v1 api
This commit is contained in:
parent
a791219d20
commit
3c306c5e17
9 changed files with 38 additions and 102 deletions
|
@ -115,7 +115,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
fetchNotifications() {
|
||||
axios.get('/api/v1/notifications')
|
||||
axios.get('/api/pixelfed/v1/notifications')
|
||||
.then(res => {
|
||||
let data = res.data.filter(n => {
|
||||
if(n.type == 'share' && !status) {
|
||||
|
@ -136,7 +136,7 @@ export default {
|
|||
$state.complete();
|
||||
return;
|
||||
}
|
||||
axios.get('/api/v1/notifications', {
|
||||
axios.get('/api/pixelfed/v1/notifications', {
|
||||
params: {
|
||||
page: this.notificationCursor
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue