Skip to content

Commit

Permalink
stabilize
Browse files Browse the repository at this point in the history
  • Loading branch information
oneslash committed Aug 13, 2023
1 parent 629b8aa commit 238fd44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file modified database.db
Binary file not shown.
2 changes: 2 additions & 0 deletions migrations/20230813154018_remove_tag_from_queue_table.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE queues DROP COLUMN tag_name;
ALTER TABLE queues DROP COLUMN tag_value;
3 changes: 2 additions & 1 deletion src/api/create_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::AppState;
use actix_web::{web, HttpResponse};
use regex::{Regex, RegexBuilder};
use serde::{Deserialize, Serialize};
use tracing::warn;
use std::{collections::HashMap, sync::Arc};

/// .fifo - for the FIFO queues
Expand Down Expand Up @@ -108,7 +109,6 @@ pub async fn process(
return HttpResponse::BadRequest().body(format!("Failed to parse payload: {}", e))
}
};

match payload.create_validate_attributes() {
Ok(_) => (),
Err(e) => {
Expand All @@ -130,6 +130,7 @@ pub async fn process(
})
.await;

warn!("db_result: {:?}", db_result);
match db_result {
Ok(_) => {
let response = CreateQueueResponse {
Expand Down

0 comments on commit 238fd44

Please sign in to comment.