fix(server): driveCapacityOverrideMbが公開情報になっているのを修正
This commit is contained in:
		
							parent
							
								
									b2d6561bc6
								
							
						
					
					
						commit
						7157fd663c
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -409,7 +409,6 @@ export class UserEntityService implements OnModuleInit { | |||
| 				themeColor: instance.themeColor, | ||||
| 			} : undefined) : undefined, | ||||
| 			onlineStatus: this.getOnlineStatus(user), | ||||
| 			driveCapacityOverrideMb: user.driveCapacityOverrideMb, | ||||
| 
 | ||||
| 			...(opts.detail ? { | ||||
| 				url: profile!.url, | ||||
|  | @ -446,6 +445,9 @@ export class UserEntityService implements OnModuleInit { | |||
| 						userId: user.id, | ||||
| 					}).then(result => result >= 1) | ||||
| 					: false, | ||||
| 				...(isMe || opts.includeSecrets ? { | ||||
| 					driveCapacityOverrideMb: user.driveCapacityOverrideMb, | ||||
| 				} : {}), | ||||
| 			} : {}), | ||||
| 
 | ||||
| 			...(opts.detail && isMe ? { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue