We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41cd9be commit 28fd6c9Copy full SHA for 28fd6c9
servers/account-data-deleter/src/dataService/listDataExportService.ts
@@ -102,7 +102,19 @@ export class ListDataExportService {
102
) {
103
Sentry.addBreadcrumb({ data: { cursor: fromId, part, requestId } });
104
try {
105
- const entries = await this.fetchListData(fromId, size);
+ const entries: Array<ListExportEntry & { cursor: number }> =
106
+ config.app.environment === 'development'
107
+ ? [
108
+ {
109
+ title: 'fake title',
110
+ cursor: 1,
111
+ url: 'http://localhost',
112
+ time_added: 12345,
113
+ status: 'unread',
114
+ tags: 'todo',
115
+ },
116
+ ]
117
+ : await this.fetchListData(fromId, size);
118
// There's no data
119
if (entries.length === 0) {
120
if (part === 0) {
0 commit comments