Privileged app passwords (#4200)
* add checkbox to create privileged app password * add indicator to privileged app pwds to list * bump api * oops missed the yarnlock * adjust modal padding * lowercase * one more lowercase --------- Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
@@ -25,12 +25,13 @@ export function useAppPasswordCreateMutation() {
|
||||
return useMutation<
|
||||
ComAtprotoServerCreateAppPassword.OutputSchema,
|
||||
Error,
|
||||
{name: string}
|
||||
{name: string; privileged: boolean}
|
||||
>({
|
||||
mutationFn: async ({name}) => {
|
||||
mutationFn: async ({name, privileged}) => {
|
||||
return (
|
||||
await getAgent().com.atproto.server.createAppPassword({
|
||||
name,
|
||||
privileged,
|
||||
})
|
||||
).data
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user