From 750094a0ad01cd6b403c99756f09792a465fd6fd Mon Sep 17 00:00:00 2001 From: Underthestars-zhy Date: Tue, 2 May 2023 20:14:14 +0800 Subject: [PATCH] grammar fix --- Sources/MobbinAPI/MobbinAPI.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/MobbinAPI/MobbinAPI.swift b/Sources/MobbinAPI/MobbinAPI.swift index ded39c8..582e69e 100644 --- a/Sources/MobbinAPI/MobbinAPI.swift +++ b/Sources/MobbinAPI/MobbinAPI.swift @@ -17,12 +17,12 @@ public class MobbinAPI { self.token = token } - public func retriveToken() throws -> Token { + public func retrieveToken() throws -> Token { guard let token else { throw MobbinError.noTokenFounded } return token } - public func retriveUserInfo() throws -> UserInfo { + public func retrieveUserInfo() throws -> UserInfo { guard let userInfo else { throw MobbinError.noUserInfoFounded } return userInfo }