mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Add tests for status context
This commit is contained in:
parent
80a3e4c92d
commit
2e7ab312e0
3 changed files with 33 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue