Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit feb1d8c

Browse files
committed
Fix rebase mistake.
1 parent 388f5ab commit feb1d8c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

backend/src/config/api_doc.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ use crate::{
1616
model::{
1717
dto::{
1818
core::{
19-
ActionDtoWrapperDeletePlantings, ActionDtoWrapperNewPlantings,
20-
ActionDtoWrapperUpdatePlantings, TimelinePagePlantingsDto,
19+
ActionDtoWrapperDeleteDrawings, ActionDtoWrapperDeletePlantings,
20+
ActionDtoWrapperNewPlantings, ActionDtoWrapperUpdatePlantings,
21+
TimelinePagePlantingsDto,
2122
},
2223
plantings::{
2324
MovePlantingDto, PlantingDto, TransformPlantingDto, UpdateAddDatePlantingDto,

backend/src/model/dto/actions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl Action {
9090
Self {
9191
action_id,
9292
user_id,
93-
payload: Vec::from(dtos),
93+
action: ActionType::CreatePlanting(Vec::from(dtos)),
9494
}
9595
}
9696

0 commit comments

Comments
 (0)