feat: add disable / delete funct; bump revolt-api

This commit is contained in:
Paul Makles
2022-06-10 14:32:21 +01:00
parent e0ca1681bd
commit 6be0807433
8 changed files with 47 additions and 26 deletions

View File

@@ -177,7 +177,7 @@ export function SpecialInputModal(props: SpecialProps) {
question={"Add Friend"}
callback={(username) =>
client.api
.put(`/users/${username as ""}/friend`)
.post(`/users/friend`, { username })
.then(undefined)
}
/>