Skip to content

Commit 6171603

Browse files
committed
Remove temporary path code
1 parent 96c802d commit 6171603

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Modules/Sources/WordPressKitObjC/ReaderPostServiceRemote.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ - (void)fetchPostsFromEndpoint:(NSURL *)endpoint
4040
if (algorithm) {
4141
params[ParamsKeyAlgorithm] = algorithm;
4242
}
43-
// TODO: refactor (add a new parameter
44-
if ([endpoint.path hasSuffix:@"/freshly-pressed"]) {
45-
[params removeAllObjects];
46-
}
4743

4844
[self fetchPostsFromEndpoint:endpoint withParameters:params success:success failure:failure];
4945
}

0 commit comments

Comments
 (0)