stash
This commit is contained in:
parent
8cba1f52e8
commit
ebd0db4b43
27 changed files with 326 additions and 329 deletions
|
|
@ -152,7 +152,7 @@ export default {
|
|||
const unreachable = new NeighborsCache();
|
||||
const servers = await this.lookupServer({username: this.username}).then(servers => new ServerSet(servers, unreachable))
|
||||
const auth = createSignAuth(this.username, this.keypair.signSk);
|
||||
const reply = await servers.getRaw(auth, '/api/friends/');
|
||||
const reply = await servers.getRaw(auth, '/api/v1/friends/');
|
||||
if (reply.status === 200) {
|
||||
this.setUserFromIdentityRecord({username: this.username, keypair: this.keypair});
|
||||
router.push({path: '/'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue