Update Story apis, move FE to v0 and add v1 for oauth clients

This commit is contained in:
Daniel Supernault 2020-02-04 21:04:58 -07:00
parent e2828f4b85
commit 92654fabdc
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
8 changed files with 23 additions and 14 deletions

View file

@ -642,7 +642,7 @@
axios.get('/api/pixelfed/v1/accounts/verify_credentials').then(res => {
this.user = res.data;
if(res.data.id == this.profileId || this.relationship.following == true) {
axios.get('/api/stories/v1/exists/' + this.profileId)
axios.get('/api/stories/v0/exists/' + this.profileId)
.then(res => {
this.hasStory = res.data == true;
})