Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ar committed Aug 13, 2024
1 parent 5f5d764 commit 232d70b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions desci-server/src/controllers/nodes/explore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ const logger = parentLogger.child({
nv."createdAt" as "latestPublish",
nv."commitId",
nv."transactionId"
FROM
FROM
"Node" n
INNER JOIN "NodeVersion" nv ON n.id = nv."nodeId"
WHERE
WHERE
nv."transactionId" IS NOT NULL OR nv."commitId" IS NOT NULL
ORDER BY
ORDER BY
n.id,
nv."createdAt" DESC,
nv.id DESC -- determinism in case of same anchor time on fast publishes
Expand All @@ -46,7 +46,7 @@ const logger = parentLogger.child({
OFFSET ($page - 1) * $size
The corresponding prisma query build is a bit backward as we start from
nodeVersion and use nested select instead of the join,
nodeVersion and use nested select instead of the join,
*/

/**
Expand Down

0 comments on commit 232d70b

Please sign in to comment.