Commit
•
18efd17
1
Parent(s):
84741a3
fix for the firehose
Browse files
src/app/server/actions/community.ts
CHANGED
@@ -120,7 +120,7 @@ export async function getLatestPosts({
|
|
120 |
try {
|
121 |
// console.log(`calling GET ${apiUrl}/posts with renderId: ${renderId}`)
|
122 |
// TODO: send the max number of posts
|
123 |
-
const res = await fetch(`${apiUrl}/posts/${appId}/${
|
124 |
visibility || "all"
|
125 |
}/${
|
126 |
maxNbPosts || 80
|
|
|
120 |
try {
|
121 |
// console.log(`calling GET ${apiUrl}/posts with renderId: ${renderId}`)
|
122 |
// TODO: send the max number of posts
|
123 |
+
const res = await fetch(`${apiUrl}/posts/${appId}/firehose/${
|
124 |
visibility || "all"
|
125 |
}/${
|
126 |
maxNbPosts || 80
|