You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/06/08 07:29:20 UTC
[GitHub] [couchdb-nano] ijsnow commented on issue #156: Referer header
required
ijsnow commented on issue #156: Referer header required
URL: https://github.com/apache/couchdb-nano/issues/156#issuecomment-500103551
I'm getting the same via the homebrew installation with the following code:
```typescript
export async function getUserByEmail(email: string): Promise<IUser> {
const users = nano.use('users')
const resp = await users.find({
fields: ["emails"],
selector: {
emails: {
$elemMatch: {
$eq: email,
},
},
},
});
// ...
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services