mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Use dot notation
This commit is contained in:
parent
1fc185e569
commit
54776545b6
@ -19,7 +19,7 @@ app.get('/@:user/inbox', async (req, res) => {
|
|||||||
|
|
||||||
const user = await User.findOne({
|
const user = await User.findOne({
|
||||||
host: { $ne: null },
|
host: { $ne: null },
|
||||||
account: { publicKey: { id: parsed.keyId } }
|
'account.publicKey.id': parsed.keyId
|
||||||
});
|
});
|
||||||
|
|
||||||
if (user === null) {
|
if (user === null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user