feat: Implement WebcamFileSource for life webcam capture #12
1 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ export default createStore({
|
|||
return true;
|
||||
}
|
||||
const home_servers = await dispatch('getHomeServers')
|
||||
const home_reply = home_servers.post(getters.signAuth, '/api/friendrequests/', {
|
||||
const home_reply = await home_servers.post(getters.signAuth, '/api/friendrequests/', {
|
||||
befriender: state.user,
|
||||
befriendee: username
|
||||
})
|
||||
|
@ -214,7 +214,7 @@ export default createStore({
|
|||
return false;
|
||||
|
||||
const befriendee_servers = await dispatch('getFriendServers', {username})
|
||||
const ext_reply = befriendee_servers.post(getters.signAuth, '/api/friendrequests/', {
|
||||
const ext_reply = await befriendee_servers.post(getters.signAuth, '/api/friendrequests/', {
|
||||
befriender: state.user,
|
||||
befriendee: username,
|
||||
befriender_key: nacl.to_hex(state.keypair.signPk),
|
||||
|
|
Loading…
Reference in a new issue