File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -410,15 +410,15 @@ import Foundation
410
410
* the current `StorageReference`.
411
411
*/
412
412
@objc ( listAllWithCompletion: )
413
- open func listAll( completion: @escaping ( ( _: StorageListResult ? , _: NSError ? ) -> Void ) ) {
413
+ open func listAll( completion: @escaping ( ( _: StorageListResult ? , _: Error ? ) -> Void ) ) {
414
414
let fetcherService = storage. fetcherServiceForApp
415
415
var prefixes = [ StorageReference] ( )
416
416
var items = [ StorageReference] ( )
417
417
418
418
weak var weakSelf = self
419
419
420
- var paginatedCompletion : ( ( _: StorageListResult ? , _: NSError ? ) -> Void ) ?
421
- paginatedCompletion = { ( _ listResult: StorageListResult ? , _ error: NSError ? ) in
420
+ var paginatedCompletion : ( ( _: StorageListResult ? , _: Error ? ) -> Void ) ?
421
+ paginatedCompletion = { ( _ listResult: StorageListResult ? , _ error: Error ? ) in
422
422
if let error = error {
423
423
completion ( nil , error)
424
424
return
You can’t perform that action at this time.
0 commit comments