mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
#1282 Adding feed to root folder
This commit is contained in:
parent
93f4c965bb
commit
4a4161e12b
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ public class APIManager {
|
|||
public AddFeedResponse addFeed(String feedUrl, @Nullable String folderName) {
|
||||
ContentValues values = new ContentValues();
|
||||
values.put(APIConstants.PARAMETER_URL, feedUrl);
|
||||
if (!TextUtils.isEmpty(folderName)) {
|
||||
if (!TextUtils.isEmpty(folderName) && !folderName.equals(AppConstants.ROOT_FOLDER)) {
|
||||
values.put(APIConstants.PARAMETER_FOLDER, folderName);
|
||||
}
|
||||
APIResponse response = post(buildUrl(APIConstants.PATH_ADD_FEED), values);
|
||||
|
|
Loading…
Add table
Reference in a new issue