Update Story apis, move FE to v0 and add v1 for oauth clients
This commit is contained in:
parent
e2828f4b85
commit
92654fabdc
8 changed files with 23 additions and 14 deletions
|
@ -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;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue