Skip to content

Commit

Permalink
Add @discardableResult to some methods (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ky1ejs authored Jun 13, 2022
1 parent a0606a7 commit 4e22c94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/GoTrue/GoTrueClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public final class GoTrueClient {
return url
}

@discardableResult
public func refreshSession(refreshToken: String) async throws -> Session {
do {
let session = try await Current.client.send(
Expand Down

0 comments on commit 4e22c94

Please sign in to comment.