mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Use dot notation
This commit is contained in:
parent
a733e78880
commit
13949270d2
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ app.get('/@:user/inbox', async (req, res) => {
|
|||
|
||||
const user = await User.findOne({
|
||||
host: { $ne: null },
|
||||
account: { publicKey: { id: parsed.keyId } }
|
||||
'account.publicKey.id': parsed.keyId
|
||||
});
|
||||
|
||||
if (user === null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue