diff --git a/src/app/(dashboard)/admin/audit/page.tsx b/src/app/(dashboard)/admin/audit/page.tsx index cc5d9f6..5eadad8 100644 --- a/src/app/(dashboard)/admin/audit/page.tsx +++ b/src/app/(dashboard)/admin/audit/page.tsx @@ -9,7 +9,7 @@ import { sha256sum } from "@/lib/util"; import { Avatar, Card, Code, Flex, Grid, Heading, IconButton, Text } from "@radix-ui/themes"; import dayjs from "dayjs"; import relativeTime from "dayjs/plugin/relativeTime"; -import { ArrowLeftIcon, ArrowRightIcon, AsteriskSquareIcon, GhostIcon, LogInIcon, UserCheckIcon, UserPlusIcon, UsersIcon, UsersRoundIcon, XIcon } from "lucide-react"; +import { ArrowLeftIcon, ArrowRightIcon, AsteriskSquareIcon, GhostIcon, KeyRoundIcon, LogInIcon, UserCheckIcon, UserPlusIcon, UsersIcon, UsersRoundIcon, XIcon } from "lucide-react"; import { useEffect, useState } from "react"; dayjs.extend(relativeTime); @@ -23,6 +23,8 @@ const LOG_ACTION_HUMAN_READABLE: { [key in AuditLogAction]?: string } = { login: "Logged in", changeOwnPassword: "Changed their own password", createUser: "Created a new user", + createApiKey: "Created an API key", + deleteApiKey: "Deleted an API key", }; export default function Audit() { @@ -50,6 +52,8 @@ export default function Audit() { login: , changeOwnPassword: , createUser: , + createApiKey: , + deleteApiKey: , }; function NavigationButtons() {