Update components, fix api endpoints. Fixes #3138

pull/3142/head
Daniel Supernault 2022-01-09 18:18:25 -07:00
rodzic f4150df593
commit e724633e0f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -165,7 +165,7 @@
methods: {
fetchNotifications() {
axios.get('/api/v1/notifications?pg=true')
axios.get('/api/pixelfed/v1/notifications?pg=true')
.then(res => {
let data = res.data.filter(n => {
if(n.type == 'share' && !n.status) {

Wyświetl plik

@ -591,7 +591,7 @@
methods: {
fetchProfile() {
axios.get('/api/v1/accounts/verify_credentials').then(res => {
axios.get('/api/pixelfed/v1/accounts/verify_credentials').then(res => {
this.profile = res.data;
if(this.profile.is_admin == true) {
this.modes.mod = true;