Skip to content

Commit e3d38ce

Browse files
committed
Refactor getAssetAccessFees to be a convenience method.
1 parent 269a01e commit e3d38ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Core/Asset.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public extension InPlayer {
4242
- error: Containing information about the error that occurred.
4343
*/
4444
public static func getAssetAccessFees(id: Int,
45-
voucherId: Int?,
45+
voucherId: Int? = nil,
4646
success: @escaping ([InPlayerAccessFee]) -> Void,
4747
failure: @escaping (InPlayerError) -> Void) {
4848
INPAssetService.getAssetAccessFees(id: id, voucherId: voucherId, completion: { (accessFees, error) in

0 commit comments

Comments
 (0)