fix: Check on null for server type identifier

It is not needed to finish installation so it's okat if it's empty
pull/140/head
NaiJi ✨ 2022-11-18 11:30:50 +04:00
parent da394e22ac
commit b26e22cd4e
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class ServerInstallationNotFinished extends ServerInstallationState {
ServerInstallationFinished finish() => ServerInstallationFinished(
providerApiToken: providerApiToken!,
serverTypeIdentificator: serverTypeIdentificator!,
serverTypeIdentificator: serverTypeIdentificator ?? '',
cloudFlareKey: cloudFlareKey!,
backblazeCredential: backblazeCredential!,
serverDomain: serverDomain!,