fix: undefined reference of userRow
This commit is contained in:
parent
012887d1d9
commit
1720ff332e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user