fix(api): fix shared ip route to not return the current user in the query

This commit is contained in:
parent dd5067db37
commit 5b3515ff8e
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -18,6 +18,9 @@ export default eventHandler(async (ev) => {
"ipLog.ip": {
$in: [entry.ip],
},
_id: {
$nin: [idee],
},
})
.select("username _id")
.exec()