mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
feat: add disable / delete funct; bump revolt-api
This commit is contained in:
@@ -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)
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user