Skip to content

postgresql example #212

Open
Open
@pinduvn

Description

@pinduvn

Hello, sorry for my English, in model.js in the 121 and 108 line syntax is
client.query('INSERT INTO oauth_access_tokens(access_token, client_id, user_id, expires) ' +
'VALUES ($1, $2, $3, $4)', [accessToken, clientId, userId, expires],
and the right to function in my case
client.query('INSERT INTO oauth_access_tokens(access_token, client_id, user_id, expires) ' +
'VALUES ($1, $2, $3, $4)', [accessToken, clientId, userId.id, expires],

add id to userId

best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions