fix(backend): fix typo

This commit is contained in:
Acid Chicken (硫酸鶏) 2024-05-29 18:07:04 +09:00
parent 68e1c615cc
commit c8ac5a7e2b
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ export const miRepository = {
return builder.select(selection, selectionAliasName);
};
for (const columnName of this.createTableColumnNames(queryBuilder)) {
selectOrAddSelect(`${queryBuilder.alias}.${columnName}`, `${queryBuilder.alias}_${columnName}`);
selectOrAddSelect(`${builder.alias}.${columnName}`, `${builder.alias}_${columnName}`);
}
},
} satisfies MiRepository<ObjectLiteral>;