Added different methods to get user websites and teams.

This commit is contained in:
Mike Cao 2023-07-27 11:43:45 -07:00
parent 5189486d6f
commit f4aa8f9661
5 changed files with 58 additions and 12 deletions

View file

@ -16,7 +16,6 @@ export default async (
) => {
await useCors(req, res);
await useAuth(req, res);
const { user } = req.auth;
const { id: userId } = req.query;