From f334766f75267124eb3b9140da4d798c46595569 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Sun, 12 Dec 2021 11:01:25 +0200 Subject: [PATCH] Update init.lua --- src/init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/init.lua b/src/init.lua index fe0af5a..5f74e71 100644 --- a/src/init.lua +++ b/src/init.lua @@ -22,7 +22,7 @@ function AuthAPI.CheckPinAsync( ) assert( - typeof(secret) == 'string', + type(secret) == "string", "Secret must be string" ) @@ -56,17 +56,17 @@ function AuthAPI.GetQRCodeURL( ): string assert( - typeof(appName) == 'string', + type(appName) == "string", "AppName must be string" ) assert( - typeof(appInfo) == 'string', + type(appInfo) == "string", "AppInfo must be string" ) assert( - typeof(secret) == 'string', + type(secret) == "string", "Secret must be string" ) @@ -76,4 +76,4 @@ function AuthAPI.GetQRCodeURL( ) end -return AuthAPI \ No newline at end of file +return AuthAPI