6CUC3C5BCSMUJU73T3XYWPTVEUYXXG3PREA7P2BRZZ7XZY54JBMAC
debug!("loading private token");
let private_token = crate::user_auth::token_for_team(
conpool.get()?,
&secrets,
&client,
guild_id as i32,
zone as i32,
)
.await?;
let (mode, token) = if let Some(token) = private_token {
debug!("private token found. using for sync of {:?}", guild_id);
(WclMode::Private, token)
} else {
debug!("no private token found for {:?}", guild_id);
(WclMode::Public, token)
};