Skip to content

Commit c451a86

Browse files
authored
Merge pull request #1 from vapor-community/hotfix
Made storage client initializer public.
2 parents 1fdfb07 + f88e727 commit c451a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GoogleCloudKit/Storage/StorageClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public final class GoogleCloudStorageClient {
1717
public var notifications: StorageNotificationsAPI
1818
public var object: StorageObjectAPI
1919

20-
init(configuration: GoogleCloudCredentialsConfiguration, storageConfig: GoogleCloudStorageConfiguration, client: HTTPClient) throws {
20+
public init(configuration: GoogleCloudCredentialsConfiguration, storageConfig: GoogleCloudStorageConfiguration, client: HTTPClient) throws {
2121
// A token implementing OAuthRefreshable. Loaded from credentials from the provider config.
2222
let refreshableToken = try OAuthCredentialLoader.getRefreshableToken(credentialFilePath: configuration.serviceAccountCredentialsPath,
2323
withConfig: storageConfig,

0 commit comments

Comments
 (0)