Skip to content

Commit

Permalink
Naive Feed sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenjohnson committed Jul 22, 2022
1 parent 8b0f955 commit 94ac5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data-interfaces/HyloHappInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const HyloHappInterface = {
all: async (base_action_hash, { limit, since } = {}) => {
// const fromTime = since || currentDataTimeIso()
// return createZomeCall('posts/all')({ base, from_time: fromTime, limit: Number(limit) })
return createZomeCall('posts/all')(Uint8ArrayStringToUint8Array(base_action_hash))
return (await createZomeCall('posts/all')(Uint8ArrayStringToUint8Array(base_action_hash))).reverse()
},

get: async action_hash => createZomeCall('posts/get')(Uint8ArrayStringToUint8Array(action_hash))
Expand Down

0 comments on commit 94ac5bd

Please sign in to comment.