Browse Source
			
			
			Merge branch 'domdomegg-domdomegg/support-no-data-org-policies' into main
			
			
				pull/2001/head
			
			
		 
		
			
				
					
						
						Daniel García
					
					4 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: FC8A7D14C3CD543A
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/api/core/organizations.rs
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -1183,7 +1183,7 @@ struct PolicyData { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    enabled: bool, | 
					 | 
					 | 
					    enabled: bool, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    #[serde(rename = "type")] | 
					 | 
					 | 
					    #[serde(rename = "type")] | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    _type: i32, | 
					 | 
					 | 
					    _type: i32, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    data: Value, | 
					 | 
					 | 
					    data: Option<Value>, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					#[put("/organizations/<org_id>/policies/<pol_type>", data = "<data>")] | 
					 | 
					 | 
					#[put("/organizations/<org_id>/policies/<pol_type>", data = "<data>")] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |