mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 17:15:37 +01:00
Clean up teams on user delete.
This commit is contained in:
parent
82f0bc3d2b
commit
8684781624
8 changed files with 90 additions and 14 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { NextApiRequestQueryBody } from 'lib/types';
|
||||
import { NextApiRequestQueryBody, User } from 'lib/types';
|
||||
import { canDeleteUser, canUpdateUser, canViewUser } from 'lib/auth';
|
||||
import { useAuth } from 'lib/middleware';
|
||||
import { NextApiResponse } from 'next';
|
||||
import { badRequest, hashPassword, methodNotAllowed, ok, unauthorized } from 'next-basics';
|
||||
import { deleteUser, getUser, updateUser, User } from 'queries';
|
||||
import { deleteUser, getUser, updateUser } from 'queries';
|
||||
|
||||
export interface UserRequestQuery {
|
||||
id: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue