running cron should call post_unit
				
					
				
			This commit is contained in:
		
							parent
							
								
									d3f75f67ee
								
							
						
					
					
						commit
						6ce8aa731a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@ impl Forgejo {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    pub async fn admin_run_cron(&self, name: &str) -> Result<(), ForgejoError> {
 | 
			
		||||
        self.post(&format!("admin/cron/{name}"), &()).await
 | 
			
		||||
        self.post_unit(&format!("admin/cron/{name}"), &()).await
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub async fn admin_get_emails(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue