Skip to content

Commit

Permalink
Add more information to the login log.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoneWang committed Jun 27, 2022
1 parent c2c55f2 commit 4b44045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imink/Shared/API/APILogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation

class APILogger {
public private(set) var log: String = "API Log\n\n"
public private(set) var log: String = "Login Log\nVersion: \(Bundle.main.appVersionShort) (\(Bundle.main.appVersionLong))\nNSO Version: \(AppUserDefaults.shared.nsoVersion)\n"
}

extension APILogger {
Expand Down
2 changes: 1 addition & 1 deletion imink/Shared/Data/AppUserDefaults.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class AppUserDefaults: ObservableObject {
var sp2PrincipalId: String?

@AppStorage("nsoVersion", store: .appGroup)
var nsoVersion: String = "1.12.0"
var nsoVersion: String = "2.1.1"

@StandardStorage(key: "sessionToken", store: .appGroup)
var sessionToken: String? {
Expand Down

0 comments on commit 4b44045

Please sign in to comment.