Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function AuthAPI.CheckPinAsync(
)

assert(
typeof(secret) == 'string',
type(secret) == "string",
"Secret must be string"
)

Expand Down Expand Up @@ -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"
)

Expand All @@ -76,4 +76,4 @@ function AuthAPI.GetQRCodeURL(
)
end

return AuthAPI
return AuthAPI