Merge pull request #10 from kavehhn174/fix-bugs

Fix bugs
This commit is contained in:
Kaveh HajiNajaf
2025-04-29 20:44:24 +03:30
committed by GitHub
3 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -8,7 +8,6 @@ const getAllBelongings = async () => {
}
const createBelonging = async (data) => {
console.log(data)
return Belonging.create(data, null)
}
@@ -145,7 +144,7 @@ const getTypeSenseSchema = () => {
{ name: 'tags', type: 'string', facet: false, infix: true },
{ name: 'coordinates', type: 'geopoint' },
{ name: 'createdAt', type: 'int64', facet: false },
{ name: 'imageUrl', type: 'string', facet: false },
{ name: 'imageUrl', type: 'string', facet: false, infix: true },
],
default_sorting_field: 'createdAt',
}
-1
View File
@@ -110,7 +110,6 @@ const getSignedUrl = async (fileName, bucketName) => {
if (!fileName) {
return
}
console.log(bucketName,fileName)
return signedUrl(bucketName, fileName)
}
+1
View File
@@ -5,6 +5,7 @@
"scripts": {
"seed": "node ./seeder/seed.js",
"start": "nodemon app.js",
"dev": "nodemon app.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],