소스 검색

style(playlist): remove unused code

bergquist 10 년 전
부모
커밋
64a18874e1
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      pkg/models/playlist.go

+ 0 - 2
pkg/models/playlist.go

@@ -78,7 +78,6 @@ type UpdatePlaylistCommand struct {
 	Name     string            `json:"name" binding:"Required"`
 	Type     string            `json:"type"`
 	Interval string            `json:"interval"`
-	Data     []int64           `json:"data"`
 	Items    []PlaylistItemDTO `json:"items"`
 
 	Result *PlaylistDTO
@@ -86,7 +85,6 @@ type UpdatePlaylistCommand struct {
 
 type CreatePlaylistCommand struct {
 	Name     string            `json:"name" binding:"Required"`
-	Type     string            `json:"type"`
 	Interval string            `json:"interval"`
 	Data     []int64           `json:"data"`
 	Items    []PlaylistItemDTO `json:"items"`