From 75a0d4de8452cd96f493ba13b2f95542fb3d904d Mon Sep 17 00:00:00 2001 From: Wedge Date: Fri, 3 Mar 2023 17:31:45 +0300 Subject: [PATCH] fix platform id --- app/jobs/abf_worker/publish_observer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/abf_worker/publish_observer.rb b/app/jobs/abf_worker/publish_observer.rb index b176b8d08..96f595550 100644 --- a/app/jobs/abf_worker/publish_observer.rb +++ b/app/jobs/abf_worker/publish_observer.rb @@ -60,7 +60,7 @@ module AbfWorker if build_list.build_publish? # 'update_column' - when project of build_list has been removed from repository build_list.published || build_list.update_column(:status, BuildList::BUILD_PUBLISHED) - if build_list.save_to_platform.id == 28 + if build_list.save_to_platform.id == 10 Redis.current.rpush('cooker_published', { id: build_list.id, arch: build_list.arch.name