general: revert #1665
This commit is contained in:
@@ -106,7 +106,7 @@ export const useMultiFileAuthState = async (
|
||||
ids.map(async id => {
|
||||
let value = await readData(`${type}-${id}.json`)
|
||||
if (type === 'app-state-sync-key' && value) {
|
||||
value = proto.Message.AppStateSyncKeyData.create(value)
|
||||
value = proto.Message.AppStateSyncKeyData.fromObject(value)
|
||||
}
|
||||
|
||||
data[id] = value
|
||||
|
||||
Reference in New Issue
Block a user