Skip to content

Commit

Permalink
return id in reach template summary response (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
4t145 authored Oct 24, 2023
1 parent 3b5dace commit 2f61da0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions support/reach/src/dto/message/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ pub struct ReachMessageTemplateFilterReq {

#[derive(Debug, poem_openapi::Object, Serialize, Deserialize, sea_orm::FromQueryResult)]
pub struct ReachMessageTemplateSummaryResp {
pub id: String,
pub own_paths: String,
pub owner: String,
pub create_time: DateTime<Utc>,
Expand Down Expand Up @@ -205,6 +206,7 @@ pub struct ReachMessageTemplateSummaryResp {

#[derive(Debug, poem_openapi::Object, Serialize, Deserialize, sea_orm::FromQueryResult)]
pub struct ReachMessageTemplateDetailResp {
pub id: String,
pub own_paths: String,
pub owner: String,
pub owner_name: String,
Expand Down

0 comments on commit 2f61da0

Please sign in to comment.