Skip to content

Commit 8216f52

Browse files
committed
fix: non i18n colelctions
1 parent 6ff9bbe commit 8216f52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/decap-cms-backend-github/src/implementation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export default class GitHub implements Implementation {
453453
actions.push('first');
454454
}
455455
if (page < pageCount) {
456-
actions.push('next');
456+
actions.push('append_next');
457457
actions.push('last');
458458
}
459459

@@ -499,7 +499,7 @@ export default class GitHub implements Implementation {
499499
const filtered = result.files.filter((file: ApiFile) => filterByExtension(file, extension));
500500

501501
cursor = Cursor.create({
502-
actions: result.hasMore ? ['next', 'last'] : [],
502+
actions: result.hasMore ? ['append_next', 'last'] : [],
503503
meta: {
504504
page: result.page,
505505
count: result.totalCount,

0 commit comments

Comments
 (0)