Skip to content

Commit

Permalink
fix: use index
Browse files Browse the repository at this point in the history
  • Loading branch information
fpChan committed May 12, 2021
1 parent 6596dee commit 9d9c09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion offchain-modules/src/packages/db/ckb.ts
Expand Up @@ -42,8 +42,8 @@ export class CkbDb {
async getMintRecordsToUpdate(mintHash: string): Promise<CkbMint[]> {
return this.connection.getRepository(CkbMint).find({
where: {
status: 'pending',
mintHash: mintHash,
status: 'pending',
},
order: {
createdAt: 'DESC',
Expand Down

0 comments on commit 9d9c09a

Please sign in to comment.