mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 00:55:48 +01:00
Use dot notation
This commit is contained in:
parent
1fc185e569
commit
54776545b6
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…
Reference in a new issue