Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
x401om committed Jun 20, 2023
1 parent 3b82c9b commit edbdd48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Adapty+Concurrency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ import Foundation
///
/// - Parameters:
/// - paywall: the `AdaptyPaywall` for which you want to get a products
/// - Returns: A result containing the `AdaptyPaywallProduct` objects array. You can present them in your UI
/// - Returns: A result containing the `AdaptyPaywallProduct` objects array. The order will be the same as in the paywalls object. You can present them in your UI
/// - Throws: An `AdaptyError` object
public static func getPaywallProducts(paywall: AdaptyPaywall) async throws -> [AdaptyPaywallProduct]? {
return try await withCheckedThrowingContinuation { continuation in
Expand Down
2 changes: 1 addition & 1 deletion Sources/Adapty.swift
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ extension Adapty {
///
/// - Parameters:
/// - paywall: the ``AdaptyPaywall`` for which you want to get a products
/// - completion: A result containing the ``AdaptyPaywallProduct`` objects array. You can present them in your UI
/// - completion: A result containing the ``AdaptyPaywallProduct`` objects array. The order will be the same as in the paywalls object. You can present them in your UI
public static func getPaywallProducts(paywall: AdaptyPaywall,
_ completion: @escaping AdaptyResultCompletion<[AdaptyPaywallProduct]>) {
async(completion, logName: "get_paywall_products", logParams: ["paywall_id": .value(paywall.id)]) { manager, completion in
Expand Down

0 comments on commit edbdd48

Please sign in to comment.