Fix inverted type wrapping

This commit is contained in:
Quat3rnion 2024-06-07 02:08:41 -04:00
parent 0468292ec6
commit ed5365ade4
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ pub struct Message {
#[cfg_attr(feature = "sqlx", sqlx(skip))]
pub attachments: Option<Vec<Attachment>>,
#[cfg(feature = "sqlx")]
pub embeds: Vec<sqlx::types::Json<Embed>>,
pub embeds: sqlx::types::Json<Vec<Embed>>,
#[cfg(not(feature = "sqlx"))]
pub embeds: Option<Vec<Embed>>,
#[cfg(feature = "sqlx")]