From ef6bb02de3884cde416e8d7012ecea86febc249a Mon Sep 17 00:00:00 2001 From: Brent Mifsud Date: Sat, 1 Jun 2019 20:22:12 -0400 Subject: [PATCH] fix issue 4 - make auth struct private to the TMDBClient class - https://github.com/udacity/ios-nd-networking/issues/4 --- TheMovieManager/Model/TMDB Client/TMDBClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheMovieManager/Model/TMDB Client/TMDBClient.swift b/TheMovieManager/Model/TMDB Client/TMDBClient.swift index 06bd5db..076d37b 100644 --- a/TheMovieManager/Model/TMDB Client/TMDBClient.swift +++ b/TheMovieManager/Model/TMDB Client/TMDBClient.swift @@ -15,7 +15,7 @@ class TMDBClient { static let encoder = JSONEncoder() static let decoder = JSONDecoder() - struct Auth { + private struct Auth { static var accountId = 0 static var requestToken = "" static var sessionId = ""