fix: undefined reference of userRow

This commit is contained in:
alikia2x (寒寒) 2025-03-02 18:39:36 +08:00
parent 012887d1d9
commit 1720ff332e
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -38,7 +38,8 @@ export async function getVideoInfoFromAllData(client: Client, aid: number) {
[row.uid],
)
const userRow = q.rows[0];
authorInfo = userRow.desc;
if (userRow)
authorInfo = userRow.desc;
}
return {
title: row.title,