mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix query 'VerifyNonce' from node type 'UnverifiedEmailAddress' to 'EmailAddress'
This commit is contained in:
parent
b6fb98acdc
commit
f9de1f05da
@ -12,7 +12,7 @@ export default {
|
||||
const readTxResultPromise = session.readTransaction(async (txc) => {
|
||||
const result = await txc.run(
|
||||
`
|
||||
MATCH (email:UnverifiedEmailAddress {email: $email, nonce: $nonce})
|
||||
MATCH (email:EmailAddress {email: $email, nonce: $nonce})
|
||||
RETURN count(email) > 0 AS result
|
||||
`,
|
||||
{ email: args.email, nonce: args.nonce },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user