Skip to content

Commit 8665659

Browse files
committed
fix'
1 parent fab6b75 commit 8665659

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/crud-database/user.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ const unfollowWalletOfShark = async (userId, sharkId) => {
271271

272272
return {
273273
message: "success",
274-
data: { ...shark, unfollowed: true }
275274
};
276275
} catch (error) {
277276
return { message: "error-unfollow-failed", error: error };
@@ -348,7 +347,7 @@ const getTransactionsOfAllSharks = async (page, valueFilter = 0) => {
348347
.sort({ timeStamp: "desc" })
349348
.skip((page - 1) * QUERY_LIMIT_ITEM)
350349
.limit(QUERY_LIMIT_ITEM);
351-
350+
352351
return transactions || [];
353352
};
354353

0 commit comments

Comments
 (0)