mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Rename FeedlyTagResourceId to FeedlyTagResourceID.
This commit is contained in:
@@ -71,15 +71,15 @@ struct FeedlyCategoryResourceID: FeedlyResourceID {
|
||||
}
|
||||
}
|
||||
|
||||
struct FeedlyTagResourceId: FeedlyResourceID {
|
||||
struct FeedlyTagResourceID: FeedlyResourceID {
|
||||
let id: String
|
||||
|
||||
enum Global {
|
||||
|
||||
static func saved(for userID: String) -> FeedlyTagResourceId {
|
||||
static func saved(for userID: String) -> FeedlyTagResourceID {
|
||||
// https://developer.feedly.com/cloud/#global-resource-ids
|
||||
let id = "user/\(userID)/tag/global.saved"
|
||||
return FeedlyTagResourceId(id: id)
|
||||
return FeedlyTagResourceID(id: id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ final class FeedlyIngestStarredArticleIdsOperation: FeedlyOperation, Logging {
|
||||
private var remoteEntryIds = Set<String>()
|
||||
|
||||
convenience init(account: Account, userId: String, service: FeedlyGetStreamIDsService, database: SyncDatabase, newerThan: Date?) {
|
||||
let resource = FeedlyTagResourceId.Global.saved(for: userId)
|
||||
let resource = FeedlyTagResourceID.Global.saved(for: userId)
|
||||
self.init(account: account, resource: resource, service: service, database: database, newerThan: newerThan)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user