From 29d8a44824aff26dcfec7760ecea5754298d0fe7 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Wed, 16 Oct 2024 09:13:04 +0100 Subject: [PATCH] Fix AirdropBot upgrade (2nd attempt) (#6592) --- backend/canisters/airdrop_bot/CHANGELOG.md | 1 + backend/canisters/airdrop_bot/impl/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/canisters/airdrop_bot/CHANGELOG.md b/backend/canisters/airdrop_bot/CHANGELOG.md index 3040b9380b..257d823515 100644 --- a/backend/canisters/airdrop_bot/CHANGELOG.md +++ b/backend/canisters/airdrop_bot/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed - Fix AirdropBot upgrade ([#6591](https://github.com/open-chat-labs/open-chat/pull/6591)) +- Fix AirdropBot upgrade (2nd attempt) ([#6592](https://github.com/open-chat-labs/open-chat/pull/6592)) ## [[2.0.1314](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1314-airdrop_bot)] - 2024-09-02 diff --git a/backend/canisters/airdrop_bot/impl/src/lib.rs b/backend/canisters/airdrop_bot/impl/src/lib.rs index 223c214353..f32b4edefc 100644 --- a/backend/canisters/airdrop_bot/impl/src/lib.rs +++ b/backend/canisters/airdrop_bot/impl/src/lib.rs @@ -70,7 +70,7 @@ struct Data { pub avatar: Timestamped>, pub airdrops: Airdrops, pub channels_joined: HashSet<(CommunityId, ChannelId)>, - #[serde(default = "default_pending_actions_queue")] + #[serde(skip_deserializing, default = "default_pending_actions_queue")] pub pending_actions_queue: TimerJobQueue, pub rng_seed: [u8; 32], pub test_mode: bool,