Update drive.
This commit is contained in:
		
							parent
							
								
									dec2281ac8
								
							
						
					
					
						commit
						1de2c55966
					
				@ -27,7 +27,7 @@ class DriveView(BaseView):
 | 
			
		||||
            record['items'] = []
 | 
			
		||||
            async for item in drive.items:
 | 
			
		||||
                drive_item_record = item.record
 | 
			
		||||
                drive_item_record['url'] = '/drive.bin/' + drive_item_record['uid'] + '.' + drive_item.extension
 | 
			
		||||
                drive_item_record['url'] = '/drive.bin/' + drive_item_record['uid'] + '.' + item.extension
 | 
			
		||||
                record['items'].append(item.record)
 | 
			
		||||
            drives.append(record)
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user