diff --git a/examples/cpp/list_all_services/list_all_services.cpp b/examples/cpp/list_all_services/list_all_services.cpp index 82ded49..95ca5db 100644 --- a/examples/cpp/list_all_services/list_all_services.cpp +++ b/examples/cpp/list_all_services/list_all_services.cpp @@ -1,4 +1,3 @@ -// #include "librender_cdk" #include int main() { std::cout << "[Compilation] successful!" << std::endl; } \ No newline at end of file diff --git a/llvm_ir/.gitkeep b/llvm_ir/.gitkeep deleted file mode 100644 index 1b9e849..0000000 --- a/llvm_ir/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# LLVM IR source. \ No newline at end of file diff --git a/render_cdk/Cargo.toml b/render_cdk/Cargo.toml index bb5349f..820fc50 100644 --- a/render_cdk/Cargo.toml +++ b/render_cdk/Cargo.toml @@ -29,10 +29,6 @@ tokio = { version = "1.37.0", features = ["full"] } toml = "0.8.14" url = "2.5.0" -[lib] -name = "render_cdk" -path = "src/lib.rs" - [profile.release] debug = false diff --git a/render_cdk/include/mylib.h b/render_cdk/include/mylib.h new file mode 100644 index 0000000..da5bc5a --- /dev/null +++ b/render_cdk/include/mylib.h @@ -0,0 +1,5 @@ +#include +#include +#include +#include +#include diff --git a/render_cdk/src/state_management/state.rs b/render_cdk/src/state_management/state.rs index cf4e41b..c3ece1c 100644 --- a/render_cdk/src/state_management/state.rs +++ b/render_cdk/src/state_management/state.rs @@ -36,7 +36,7 @@ pub struct Owner { pub id: String, pub name: String, pub email: String, - pub twoFactorAuthEnabled: bool, + pub twoFactorAuthEnabled: Option, #[serde(rename = "type")] pub type_: String, } @@ -125,6 +125,7 @@ mod state_tests { let owner_credentials = EnvironmentManager::retrieve_env_config().OWNER_CREDENTIALS; let result = Owner::list_authorized_users(&owner_credentials, "100").await; + println!("{:?}", result); // The result should be Ok(). assert!(result.is_ok()); }