add title to shared items
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2c4e661b9d
commit
e4c1f14300
@ -127,6 +127,7 @@ router.route("/:id/share")
|
|||||||
let item = {
|
let item = {
|
||||||
user_id: req.user._id,
|
user_id: req.user._id,
|
||||||
object_id: album._id,
|
object_id: album._id,
|
||||||
|
title: album.title,
|
||||||
type: "album",
|
type: "album",
|
||||||
cover: album.covers.cover32
|
cover: album.covers.cover32
|
||||||
}
|
}
|
||||||
|
@ -129,6 +129,7 @@ router.route("/:id/share")
|
|||||||
let item = {
|
let item = {
|
||||||
user_id: req.user._id,
|
user_id: req.user._id,
|
||||||
object_id: box._id,
|
object_id: box._id,
|
||||||
|
title: box.title,
|
||||||
type: "box",
|
type: "box",
|
||||||
cover: box.covers.cover32
|
cover: box.covers.cover32
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user