Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Remove scheduling webhook check
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Oct 11, 2023
1 parent d92272f commit 74e0a4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .idea/labrinth.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions src/routes/v2/projects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1633,12 +1633,6 @@ pub async fn project_schedule(
));
}

if project_item.inner.webhook_sent {
return Err(ApiError::InvalidInput(
"This project already has been published. It cannot be scheduled!".to_string(),
));
}

sqlx::query!(
"
UPDATE mods
Expand Down

0 comments on commit 74e0a4a

Please sign in to comment.