Skip to content

Commit

Permalink
update route name from upload to push
Browse files Browse the repository at this point in the history
  • Loading branch information
dinmukhamedm committed Jan 7, 2025
1 parent b5d08f7 commit 10621ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app-server/src/api/v1/queues.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ struct UploadToQueueRequest {
queue_name: String,
}

#[post("/queues/upload")]
async fn upload_to_queue(
#[post("/queues/push")]
async fn push_to_queue(
project_api_key: ProjectApiKey,
req: web::Json<UploadToQueueRequest>,
db: web::Data<DB>,
Expand Down
2 changes: 1 addition & 1 deletion app-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ fn main() -> anyhow::Result<()> {
.service(api::v1::evaluations::create_evaluation)
.service(api::v1::metrics::process_metrics)
.service(api::v1::semantic_search::semantic_search)
.service(api::v1::queues::upload_to_queue)
.service(api::v1::queues::push_to_queue)
.service(api::v1::machine_manager::start_machine)
.service(api::v1::machine_manager::terminate_machine)
.service(api::v1::machine_manager::execute_computer_action),
Expand Down

0 comments on commit 10621ee

Please sign in to comment.