mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
refactor: change kiosk parameter from Option<bool> to bool
Simplifies the setup API by making kiosk mandatory at the protocol level, with platform-specific filtering applied at the database layer.
This commit is contained in:
@@ -72,6 +72,7 @@ export class StateService {
|
||||
await this.api.attach({
|
||||
guid: this.dataDriveGuid,
|
||||
password: password ? await this.api.encrypt(password) : null,
|
||||
kiosk: this.kiosk,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -106,6 +107,7 @@ export class StateService {
|
||||
name,
|
||||
hostname,
|
||||
recoverySource,
|
||||
kiosk: this.kiosk,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user