Skip to content

Commit

Permalink
Merge pull request #340 from UN-OCHA/HID-2336
Browse files Browse the repository at this point in the history
HID-2336: supply correct client_id value when generating OAuth tokens
  • Loading branch information
rupl authored Feb 3, 2022
2 parents 9659135 + 289f06a commit 0437417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/models/OauthToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ OauthTokenSchema.statics = {
{
oauth: {
type,
client_id: client._id,
client_id: client.id,
},
user: {
id: user._id,
Expand Down

0 comments on commit 0437417

Please # to comment.