This commit is contained in:
Tyera Eulberg 2020-08-18 11:24:25 -06:00 committed by GitHub
parent 9e89a963d9
commit 55ce2ebd53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ impl BigTable {
T: serde::de::DeserializeOwned,
{
let row_data = self.get_row_data(table, Some(key.clone()), None, 1).await?;
let (row_key, data) = &row_data[0];
let (row_key, data) = &row_data.get(0).ok_or_else(|| Error::RowNotFound)?;
deserialize_cell_data(data, table, row_key.to_string())
}