Making short deviceID length consistent and referencing to protocol file for future-proof edits. Closes #9313.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { environment } from '../environments/environment'
|
||||
|
||||
export const deviceID = (): String => {
|
||||
// keep consistent with ShortIDStringLength in lib/protocol/deviceid.go
|
||||
return environment.production ? globalThis.metadata['deviceIDShort'] : '1234567';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user