Client: use api v4 (#10457)

* client: use api v4

* fix tests
This commit is contained in:
Matteo Pagliazzi
2018-06-21 21:25:27 +02:00
committed by GitHub
parent c1bd7f5dc5
commit 592cfef6c6
46 changed files with 176 additions and 172 deletions

View File

@@ -399,7 +399,7 @@ export default {
},
async runYesterDailiesAction () {
// Run Cron
await axios.post('/api/v3/cron');
await axios.post('/api/v4/cron');
// Notifications
@@ -532,7 +532,7 @@ export default {
let userReadNotifsPromise = false;
if (notificationsToRead.length > 0) {
await axios.post('/api/v3/notifications/read', {
await axios.post('/api/v4/notifications/read', {
notificationIds: notificationsToRead,
});
}