Remove unused code.

This commit is contained in:
Brian Cao 2023-04-13 20:33:21 -07:00
parent ef324fdf73
commit baa6d8486b
2 changed files with 2 additions and 6 deletions

View file

@ -10,7 +10,6 @@ export interface TeamWebsiteRequestQuery {
}
export interface TeamWebsiteRequestBody {
teamWebsiteId?: string;
websiteIds?: string[];
}
@ -21,9 +20,6 @@ export default async (
await useAuth(req, res);
const { id: teamId } = req.query;
const {
user: { id: userId },
} = req.auth;
if (req.method === 'GET') {
if (!(await canViewTeam(req.auth, teamId))) {