Skip to content

Commit

Permalink
Fix unused function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
chojnac committed Jun 8, 2021
1 parent bfc5c20 commit 199aec8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NotionSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'NotionSwift'
s.version = '0.2.0'
s.version = '0.2.1'
s.summary = 'Unofficial Notion SDK for iOS & macOS.'
s.homepage = 'https://github.com/chojnac/NotionSwift'
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ For more details and documentation please check [Notion Developer Portal](https:
### CocoaPods

```ruby
pod 'NotionSwift', '0.2.0'
pod 'NotionSwift', '0.2.1'
```

### Swift Package Manager

```swift
dependencies: [
.package(url: "https://github.com/chojnac/NotionSwift.git", .upToNextMajor(from: "0.2.0"))
.package(url: "https://github.com/chojnac/NotionSwift.git", .upToNextMajor(from: "0.2.1"))
]
```

Expand Down
3 changes: 1 addition & 2 deletions Sources/NotionSwift/NotionClientType+Combine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ extension NotionClientType {
// MARK: - database

public func database(
databaseId: Database.Identifier,
completed: @escaping (Result<Database, Network.Errors>) -> Void
databaseId: Database.Identifier
) -> AnyPublisher<Database, Network.Errors> {
convertToPublisher { promise in
self.database(databaseId: databaseId, completed: promise)
Expand Down

0 comments on commit 199aec8

Please sign in to comment.