diff --git a/mobile/lib/models/nanoids/cluster_id.dart b/mobile/lib/models/nanoids/cluster_id.dart index 278e0bb1a2..ee2d14013e 100644 --- a/mobile/lib/models/nanoids/cluster_id.dart +++ b/mobile/lib/models/nanoids/cluster_id.dart @@ -1,13 +1,13 @@ import "package:flutter/foundation.dart"; import 'package:nanoid/nanoid.dart'; -const alphaphet = +const enteWhiteListedAlphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; const clusterIDLength = 22; class ClusterID { static String generate() { - return "cluster_${customAlphabet(urlAlphabet, clusterIDLength)}"; + return "cluster_${customAlphabet(enteWhiteListedAlphabet, clusterIDLength)}"; } // Validation method