Skip to content

Commit

Permalink
fix: image names
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel do Carmo Vieira <[email protected]>
  • Loading branch information
gvieira18 committed Dec 20, 2024
1 parent 50c759d commit 7c53a49
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/http/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pub mod v0;
pub mod v1;

use actix_web::{get, HttpResponse, ResponseError};
use actix_web::{HttpResponse, ResponseError, get};
use charybdis::errors::CharybdisError;
use serde_json::json;
use thiserror::Error;
Expand Down
2 changes: 1 addition & 1 deletion src/http/v0/settings_controller.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use actix_web::{get, put, web, HttpResponse, Responder};
use actix_web::{HttpResponse, Responder, get, put, web};
use charybdis::operations::{Find, Insert};
use log::debug;
use serde_json::json;
Expand Down
4 changes: 2 additions & 2 deletions src/http/v1/auth_controller.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use crate::config::app::AppState;
use crate::http::v1::validate_token;
use crate::http::SomeError;
use crate::http::v1::validate_token;
use crate::models::v1::users::UserToken;
use actix_web::{post, web, HttpResponse, Responder};
use actix_web::{HttpResponse, Responder, post, web};
use charybdis::operations::Insert;
use serde::{Deserialize, Serialize};
use serde_json::json;
Expand Down
8 changes: 4 additions & 4 deletions src/http/v1/metrics_controller.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use crate::config::app::AppState;
use crate::http::v1::is_authenticated;
use crate::http::SomeError;
use crate::http::v1::is_authenticated;
use crate::models::v1::metrics::{
delete_user_most_watched_category_leaderboard, delete_user_most_watched_channels_leaderboard,
UserMetrics, UserMetricsByCategory, UserMetricsByStream, UserMostWatchedCategoryLeaderboard,
UserMostWatchedChannelsLeaderboard,
UserMostWatchedChannelsLeaderboard, delete_user_most_watched_category_leaderboard,
delete_user_most_watched_channels_leaderboard,
};
use crate::models::v1::throttle::Throttle;
use actix_web::{get, post, web, HttpResponse, Responder};
use actix_web::{HttpResponse, Responder, get, post, web};
use charybdis::operations::{Find, Insert};
use charybdis::types::Text;
use chrono::Utc;
Expand Down
2 changes: 1 addition & 1 deletion src/http/v1/settings_controller.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use actix_web::{get, put, web, HttpResponse, Responder};
use actix_web::{HttpResponse, Responder, get, put, web};
use charybdis::operations::{Find, Insert};
use charybdis::options::Consistency;
use log::info;
Expand Down
2 changes: 1 addition & 1 deletion src/models/v1/throttle.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use charybdis::macros::charybdis_model;
use charybdis::types::{Int, Text, Timestamp};
use scylla::query::Query;
use scylla::CachingSession;
use scylla::query::Query;
use serde::{Deserialize, Serialize};

static INSERT_THROTTLE_WITH_TTL: &str =
Expand Down
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion tests/http/settings_controller_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mod tests {
use std::sync::Arc;

use actix_web::web::Data;
use actix_web::App;
use actix_web::web::Data;
use charybdis::operations::{Delete, Insert};
use twitch_extension_api::config::app::AppState;
use twitch_extension_api::http::v1::settings_controller::{get_settings, put_settings};
Expand Down

0 comments on commit 7c53a49

Please sign in to comment.