Skip to content

Commit

Permalink
fix: missing copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
sonu27 committed Sep 13, 2023
1 parent 682bb15 commit 7c17bcb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions internal/store/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ func ToAPI(w []Wallpaper) []api.Wallpaper {
res := make([]api.Wallpaper, len(w))
for i, v := range w {
res[i] = api.Wallpaper{
ID: api.ID(v.ID),
Title: v.Title,
Date: api.Date(v.Date),
Filename: v.Filename,
Market: v.Market,
ID: api.ID(v.ID),
Title: v.Title,
Copyright: v.Copyright,
Date: api.Date(v.Date),
Filename: v.Filename,
Market: v.Market,
}
}
return res
Expand Down

0 comments on commit 7c17bcb

Please sign in to comment.