diff --git a/src/components/Friends.vue b/src/components/Friends.vue index 1c1745efaafe03914931e57b2433449b90200cdc..4af79b728f9f2c3e3de9ea78c42c443350a2e0f8 100644 --- a/src/components/Friends.vue +++ b/src/components/Friends.vue @@ -66,7 +66,7 @@ export default { sendRequest() { this.showNotif() - this.firebaseSendFriendRequest(this.usernameInput.slice(1)) + this.firebaseSendFriendRequest(this.usernameInput) this.usernameInput = '' }, ...mapActions('firebase', ['firebaseRemovePending', 'firebaseAcceptRequest', 'firebaseSendFriendRequest'])