fix bug
This commit is contained in:
		
							parent
							
								
									8f41dfec2e
								
							
						
					
					
						commit
						967fae142b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -164,7 +164,7 @@ export class UserRepository extends Repository<User> { | |||
| 		const pins = opts.detail ? await UserNotePinings.createQueryBuilder('pin') | ||||
| 			.where('pin.userId = :userId', { userId: user.id }) | ||||
| 			.innerJoinAndSelect('pin.note', 'note') | ||||
| 			.orderBy('id', 'DESC') | ||||
| 			.orderBy('pin.id', 'DESC') | ||||
| 			.getMany() : []; | ||||
| 		const profile = opts.detail ? await UserProfiles.findOneOrFail(user.id) : null; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue