De-closure app-passwords
This commit is contained in:
@@ -10,11 +10,13 @@ export function useAppPasswordsQuery() {
|
||||
return useQuery({
|
||||
staleTime: STALE.MINUTES.ONE,
|
||||
queryKey: RQKEY(),
|
||||
queryFn: async () => {
|
||||
queryFn: appPasswordsQueryFn,
|
||||
})
|
||||
}
|
||||
|
||||
async function appPasswordsQueryFn() {
|
||||
const res = await getAgent().com.atproto.server.listAppPasswords({})
|
||||
return res.data.passwords
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
export function useAppPasswordCreateMutation() {
|
||||
|
||||
Reference in New Issue
Block a user