Stub out payment store web server #9, implement/fix last of login process #8

This commit is contained in:
NGnius (Graham) committed 2025-03-02 09:52:44 -05:00
1 parent 7e31f6fe1d
commit f004ca8565
15 files changed
+123 -21

No files matched your search

@@ -0,0 +1,12 @@
use polariton_server::operations::SimpleFunc;
use polariton::operation::{ParameterTable, Typed};
const PARAM_KEY: u8 = 207;
pub(super) fn available_reconnect_provider() -> SimpleFunc<171, crate::UserTy, impl (Fn(ParameterTable, &crate::UserTy) -> Result<ParameterTable, i16>) + Sync + Sync> {
SimpleFunc::new(|params, _| {
let mut params = params.to_dict();
params.insert(PARAM_KEY, Typed::Bool(false.into()));
Ok(params.into())
})
}