Update vue components, namespace v1 api

This commit is contained in:
Daniel Supernault 2019-09-15 18:06:04 -06:00
parent a791219d20
commit 3c306c5e17
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
9 changed files with 38 additions and 102 deletions

View file

@ -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
}