mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
Migrate to rAuth v1.
This commit is contained in:
@@ -46,7 +46,7 @@ export const Account = observer(() => {
|
||||
useEffect(() => {
|
||||
if (email === "..." && status === ClientStatus.ONLINE) {
|
||||
client
|
||||
.req("GET", "/auth/user")
|
||||
.req("GET", "/auth/account")
|
||||
.then((account) => setEmail(account.email));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user