1
0
Fork 0

running cron should call post_unit

This commit is contained in:
Cyborus 2023-12-12 14:05:23 -05:00
parent d3f75f67ee
commit 6ce8aa731a
No known key found for this signature in database

View file

@ -9,7 +9,7 @@ impl Forgejo {
} }
pub async fn admin_run_cron(&self, name: &str) -> Result<(), ForgejoError> { 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( pub async fn admin_get_emails(