main #20
@ -126,7 +126,7 @@ router.route("/:id/share")
|
||||
if (result == null) {
|
||||
let item = {
|
||||
user_id: req.user._id,
|
||||
object_id: album._id,
|
||||
object_id: new ObjectId(album_id),
|
||||
title: album.title,
|
||||
type: "album",
|
||||
cover: album.covers.cover32
|
||||
|
@ -128,7 +128,7 @@ router.route("/:id/share")
|
||||
if (result == null) {
|
||||
let item = {
|
||||
user_id: req.user._id,
|
||||
object_id: box._id,
|
||||
object_id: new ObjectId(box_id),
|
||||
title: box.title,
|
||||
type: "box",
|
||||
cover: box.covers.cover32
|
||||
|
Loading…
Reference in New Issue
Block a user