1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-01 16:15:50 +02:00

Use dot notation

This commit is contained in:
syuilo
2018-04-01 16:04:23 +09:00
parent 1fc185e569
commit 54776545b6

View File

@@ -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) {