Fix getPublishedSources call

main
Simon Quigley 1 day ago
parent 216a54498f
commit 1ad89f104a

@ -434,8 +434,7 @@ int main(int argc, char* argv[]) {
}
// Iterate over published sources
auto publishedSources = ppa.getPublishedSources("Published", current_series->name);
for (const auto& source : publishedSources) {
for (const auto& source : ppa.getPublishedSources("", "", current_series, false, true, "", "", "Published", "")) {
for (const auto& build : source.getBuilds()) {
if (build.buildstate == "Successfully built") {
// Assuming build.datebuilt is a std::chrono::system_clock::time_point

Loading…
Cancel
Save