Đã sửa lỗi quyền sở hữu scene
This commit is contained in:
@@ -137,6 +137,7 @@ router.post('/scenes', protect, uploadSinglePanorama, async (req, res) => {
|
|||||||
// 7. Save Scene to DB
|
// 7. Save Scene to DB
|
||||||
const scene = new Scene({
|
const scene = new Scene({
|
||||||
name: title,
|
name: title,
|
||||||
|
assetId: asset._id,
|
||||||
scene_url: processedFilePath, // Lưu đường dẫn ảnh trực tiếp
|
scene_url: processedFilePath, // Lưu đường dẫn ảnh trực tiếp
|
||||||
gps: {
|
gps: {
|
||||||
lat: latitude,
|
lat: latitude,
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 6.2 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.9 MiB |
Reference in New Issue
Block a user