Fix inverted type wrapping
This commit is contained in:
parent
0468292ec6
commit
ed5365ade4
|
@ -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")]
|
||||
|
|
Loading…
Reference in New Issue