Skip to content

Commit

Permalink
Refactor segment-memory-storage.ts: Swap parameters in getStoredSegme…
Browse files Browse the repository at this point in the history
…ntIds()
  • Loading branch information
DimaDemchenko committed Sep 24, 2024
1 parent ff3645d commit e93de6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class SegmentMemoryStorage implements SegmentStorage {
return segment !== undefined;
}

getStoredSegmentIds(streamId: string, _swarmId: string) {
getStoredSegmentIds(_swarmId: string, streamId: string) {
const externalIds: number[] = [];

for (const { segmentId, streamId: streamCacheId } of this.cache.values()) {
Expand Down

0 comments on commit e93de6b

Please sign in to comment.