We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d5937 commit 204e827Copy full SHA for 204e827
README.md
@@ -74,12 +74,12 @@ let body = resp
74
use postgrest::Postgrest;
75
use dotenv;
76
77
-dotenv().ok();
+dotenv::dotenv().ok();
78
79
-let client = Postgrest::new("https://your.supabase.endpoint/rest/v1/");
+let client = Postgrest::new("https://your.supabase.endpoint/rest/v1/")
80
.insert_header(
81
"apikey",
82
- env::var("SUPABASE_PUBLIC_API_KEY").unwrap())
+ dotenv::var("SUPABASE_PUBLIC_API_KEY").unwrap())
83
let resp = client
84
.from("your_table")
85
.select("*")
0 commit comments