Skip to content

Commit 29ba296

Browse files
Added path param to app creds (optional!) for token system
1 parent dc096de commit 29ba296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Console/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class Program
2121
name: "",
2222
ownerid: "",
2323
secret: "",
24-
version: "1.0"
24+
version: "1.0"/*,
25+
path: @"PathToCheckToken" NOTE: THE "@" IS IF THE TOKEN.TXT FILE IS IN THE SAME DIRECTORY AS THE .EXE*/
2526
);
2627

2728
// This will display how long it took to make a request in ms. The param "type" is for "login", "register", "init", etc... but that is optional, as well as this function. Ideally you can just put Console.WriteLine($"Request took {api.responseTime}"), but either works.

0 commit comments

Comments
 (0)