• This controller will mark user as admin. this can be used by admin to mark any user as admin

    Author

    tharun634

    Parameters

    • req: Request<{
          id: string;
      }, any, any, ParsedQs, Record<string, any>>

      request

    • res: Response<any, Record<string, any>>

      response

    Returns Promise<Response<any, Record<string, any>>>

Generated using TypeDoc