Skip to content

Commit

Permalink
fix(platform): sql queries
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkloock authored and TroyKomodo committed Jan 17, 2024
1 parent c3986ee commit bb14181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion platform/api/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub struct ImageUploaderConfig {
pub profile_picture_callback_subject: String,

/// Profile picture task priority, higher number means higher priority
pub profile_picture_task_priority: i32,
pub profile_picture_task_priority: i64,

/// Public endpoint for downloads
pub public_endpoint: String,
Expand Down
1 change: 1 addition & 0 deletions platform/api/src/database/file_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use postgres_types::{FromSql, ToSql};

#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, ToSql, FromSql)]
#[postgres(name = "filetype")]
pub enum FileType {
#[postgres(name = "custom_thumbnail")]
CustomThumbnail,
Expand Down

0 comments on commit bb14181

Please sign in to comment.