Rename FeedlyTagResourceId to FeedlyTagResourceID.

This commit is contained in:
Brent Simmons
2023-09-14 21:48:10 -07:00
parent c6f7de5fcc
commit 7d669f1b8c
2 changed files with 4 additions and 4 deletions

View File

@@ -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)
}
}
}

View File

@@ -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)
}