Skip to content
Snippets Groups Projects

Dto service

Merged Ghost User requested to merge dto-service into piirto2
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
+ 4
1
@@ -77,7 +77,10 @@ export class TaskService {
relations: ['faction'],
});
if (gamePerson.role == 'admin') {
return await this.taskRepository.find({ taskGame: taskGame });
return await this.taskRepository.find({
where: { taskGame: taskGame },
relations: ['faction'],
});
} else {
return await this.taskRepository.find({
relations: ['faction'],
Loading