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