This commit is contained in:
archer
2023-08-14 10:29:52 +08:00
parent d4d9e1fe65
commit c5fd5706a1
21 changed files with 1819 additions and 23 deletions

View File

@@ -57,7 +57,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse<
{
$project: {
_id: 1,
avatar: { $ifNull: ['$avatar', '/icon/logo.png'] },
avatar: { $ifNull: ['$avatar', '/icon/logo.svg'] },
name: 1,
userId: 1,
intro: 1,