Skip to content

Commit

Permalink
set source to most correct loader
Browse files Browse the repository at this point in the history
  • Loading branch information
adhityan committed Feb 2, 2024
1 parent a1c95b6 commit 5b2f8e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/loaders/sitemap-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class SitemapLoader extends BaseLoader<{ type: 'SitemapLoader' }> {
metadata: {
...chunk.metadata,
type: <'SitemapLoader'>'SitemapLoader',
source: this.url,
originalSource: this.url,
chunkId: i,
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/loaders/youtube-channel-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class YoutubeChannelLoader extends BaseLoader<{ type: 'YoutubeChannelLoad
metadata: {
...chunk.metadata,
type: <'YoutubeChannelLoader'>'YoutubeChannelLoader',
source: this.channelId,
originalSource: this.channelId,
chunkId: i,
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/loaders/youtube-search-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class YoutubeSearchLoader extends BaseLoader<{ type: 'YoutubeSearchLoader
metadata: {
...chunk.metadata,
type: <'YoutubeSearchLoader'>'YoutubeSearchLoader',
source: this.searchString,
originalSource: this.searchString,
chunkId: i,
},
};
Expand Down

0 comments on commit 5b2f8e1

Please sign in to comment.