|
|
@@ -130,7 +130,7 @@ export class GrowiToSlackCtrl {
|
|
|
const tokenGtoP = tokenGtoPs[0];
|
|
|
|
|
|
// retrieve relation with Installation
|
|
|
- const relation = await this.RelationRepository.createQueryBuilder('relation')
|
|
|
+ const relation = await this.relationRepository.createQueryBuilder('relation')
|
|
|
.where('tokenGtoP = :token', { token: tokenGtoP })
|
|
|
.leftJoinAndSelect('relation.installation', 'installation')
|
|
|
.getOne();
|