This repository has been archived by the owner. It is now read-only.
client-tokens - memory db returns client createdAt instead of token createdAt #421
Milestone
Comments
vladikoff
added a commit
that referenced
this issue
Dec 21, 2016
… r=vladikoff,seanmonstar Fixes #421
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ref: Memory https://github.com/mozilla/fxa-oauth-server/blob/master/lib/db/memory.js#L256
Ref: SQL
fxa-oauth-server/lib/db/mysql/index.js
Lines 180 to 188 in 5cdf36b
We use
MAX(tokens.createdAt)to sort by newest token in MySQL, but we just pick up.createdAtfield in the memory db.The text was updated successfully, but these errors were encountered: