Version fix (#193)
* Version fix * Workflow fix * Test fix * Test fix * Removing code that was meant to be removed Caused an extra file to be created when the request is called * Updated env sample to address workflow * Removed import * env fix * Version change * Version bump Going with the version I done earlier. I won't have the versioning match the api version in the endpoints * Fixing versions for app dependencies
This commit was merged in pull request #193.
This commit is contained in:
@@ -869,8 +869,6 @@ mod song_queue {
|
||||
pub mod endpoint {
|
||||
use axum::{Json, http::StatusCode, response::IntoResponse};
|
||||
|
||||
use std::io::Write;
|
||||
|
||||
use crate::callers::song::song_queue;
|
||||
|
||||
/// Endpoint to queue a song. Starts the process and places the song in a queue
|
||||
@@ -907,11 +905,6 @@ pub mod endpoint {
|
||||
data.len()
|
||||
);
|
||||
|
||||
// TODO: Remove this
|
||||
// Save the file to disk
|
||||
let mut file = std::fs::File::create(&file_name).unwrap();
|
||||
file.write_all(&data).unwrap();
|
||||
|
||||
let raw_data: Vec<u8> = data.to_vec();
|
||||
let queue_repo = song_queue::insert(
|
||||
&pool,
|
||||
|
||||
Reference in New Issue
Block a user