From 31f96c0f04df6265bc26edaceaf7881451dc85bb Mon Sep 17 00:00:00 2001 From: Clombrong Date: Wed, 25 Jun 2025 11:16:48 +0200 Subject: feat(native_hello): integrate env credentials --- test/native/native_hello.ml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/native/native_hello.ml b/test/native/native_hello.ml index ea57e57..bb38ee6 100644 --- a/test/native/native_hello.ml +++ b/test/native/native_hello.ml @@ -1,2 +1,5 @@ let () = - print_endline "Hello, world!" + let jid = Sys.getenv "FLESH_JID" + and _password = Sys.getenv "FLESH_PASSWORD" + in let domain = (List.nth (String.split_on_char '@' jid) 1) + in print_endline domain -- cgit v1.2.3