mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(themes): Add ability to update email config for themes (#8033)
This commit is contained in:
@ -29,7 +29,6 @@ pub struct UploadFileAssetData {
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct UploadFileRequest {
|
||||
pub lineage: ThemeLineage,
|
||||
pub asset_name: String,
|
||||
pub asset_data: Secret<Vec<u8>>,
|
||||
}
|
||||
@ -44,9 +43,8 @@ pub struct CreateThemeRequest {
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct UpdateThemeRequest {
|
||||
pub lineage: ThemeLineage,
|
||||
pub theme_data: ThemeData,
|
||||
// TODO: Add support to update email config
|
||||
pub theme_data: Option<ThemeData>,
|
||||
pub email_config: Option<EmailThemeConfig>,
|
||||
}
|
||||
|
||||
// All the below structs are for the theme.json file,
|
||||
|
||||
Reference in New Issue
Block a user