Temporarily fix file_id version.
GitOrigin-RevId: bb97188814e9eda25287b6127d0991b8157726ba
This commit is contained in:
parent
aa752468fc
commit
d5ba35e2f0
@ -2678,7 +2678,9 @@ string FileManager::get_persistent_id(const FullRemoteFileLocation &location) {
|
||||
auto binary = serialize(location_copy);
|
||||
|
||||
binary = zero_encode(binary);
|
||||
binary.push_back(static_cast<char>(narrow_cast<uint8>(Version::Next) - 1));
|
||||
binary.push_back(static_cast<char>(narrow_cast<uint8>(Version::AddFolders) - 1));
|
||||
// TODO return back correct version
|
||||
// binary.push_back(static_cast<char>(narrow_cast<uint8>(Version::Next) - 1));
|
||||
binary.push_back(PERSISTENT_ID_VERSION);
|
||||
return base64url_encode(binary);
|
||||
}
|
||||
|
Reference in New Issue
Block a user