Fixed processing of error on chart zooming.

This commit is contained in:
23rd 2023-10-21 11:26:34 +03:00
parent ec8c634e9c
commit b6be799938
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace {
.zoomToken = qs(data.vtoken()).toUtf8(),
};
}, [&](const MTPDstatsGraphError &data) {
return Data::StatisticalGraph{ Data::StatisticalChart() };
return Data::StatisticalGraph{ .error = qs(data.verror()) };
});
}