Commit 12f7794a authored by Hsinli's avatar Hsinli

addd

parent 79d6a17d
Pipeline #8698 passed with stage
in 3 seconds
...@@ -55,7 +55,7 @@ class CollectionService extends Service { ...@@ -55,7 +55,7 @@ class CollectionService extends Service {
user_id: ctx.userId, user_id: ctx.userId,
} }
} }
let collectionHistory = await ctx.realestateModel.Collection.one(filter); let collectionHistory = await ctx.realestateModel.Collection.all(filter);
if (collectionHistory.length > 0) { if (collectionHistory.length > 0) {
let filter = { let filter = {
params: { state: 0 }, params: { state: 0 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment