Fix bug
This commit is contained in:
		
							parent
							
								
									4152e59638
								
							
						
					
					
						commit
						dda5f6559d
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -154,6 +154,12 @@ export class UserRepository extends Repository<User> {
 | 
				
			||||||
				}),
 | 
									}),
 | 
				
			||||||
			} : {}),
 | 
								} : {}),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								...(opts.includeSecrets ? {
 | 
				
			||||||
 | 
									clientData: profile.clientData,
 | 
				
			||||||
 | 
									email: profile.email,
 | 
				
			||||||
 | 
									emailVerified: profile.emailVerified,
 | 
				
			||||||
 | 
								} : {}),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			...(relation ? {
 | 
								...(relation ? {
 | 
				
			||||||
				isFollowing: relation.isFollowing,
 | 
									isFollowing: relation.isFollowing,
 | 
				
			||||||
				isFollowed: relation.isFollowed,
 | 
									isFollowed: relation.isFollowed,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue