Add tests for status context

This commit is contained in:
Jesse Wierzbinski 2023-10-24 12:23:22 -10:00
parent 80a3e4c92d
commit 2e7ab312e0
No known key found for this signature in database
GPG key ID: F9A1E418934E40B0
3 changed files with 33 additions and 4 deletions

View file

@ -247,7 +247,7 @@ export class Status extends BaseEntity {
where: {
id: id,
},
relations: statusRelations,
relations: statusAndUserRelations,
});
if (currentStatus) {
@ -295,7 +295,7 @@ export class Status extends BaseEntity {
id: status.id,
},
},
relations: statusRelations,
relations: statusAndUserRelations,
});
for (const status of currentStatus) {