mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-12-05 22:36:29 +01:00
Add version to ServerConnectionConfig on iOS
This commit is contained in:
1 parent
52f86cbce9
commit
5804c54656
7 files changed
+37
-8
No files matched your search
@@ -13,6 +13,7 @@ class ServerConnectionConfig: Object {
|
||||
@Persisted(indexed: true) var index: Int = 1
|
||||
@Persisted var name: String = ""
|
||||
@Persisted var address: String = ""
|
||||
@Persisted var version: String = ""
|
||||
@Persisted var userId: String = ""
|
||||
@Persisted var username: String = ""
|
||||
@Persisted var token: String = ""
|
||||
@@ -29,6 +30,7 @@ func convertServerConnectionConfigToJSON(config: ServerConnectionConfig) -> Dict
|
||||
"name": config.name,
|
||||
"index": config.index,
|
||||
"address": config.address,
|
||||
"version": config.version,
|
||||
"userId": config.userId,
|
||||
"username": config.username,
|
||||
"token": config.token,
|
||||
|
||||
Reference in new issue
Block a user