From 45f352f9cb3bdc16048a0f0d70eef6a59272472b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 23 Aug 2021 13:06:15 -0400 Subject: Fix GitHub OAuth args This makes it explicit that we are using GitHub vs some other OAuth args. The idea is that we should be making a new type for every service, this allows us to have type safety in the implementation but a common set or pattern of names for the environment variables and record fields. Also using 'notset' instead of 'mempty' is really helpful for debugging when this breaks, as I found out. --- .envrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.envrc') diff --git a/.envrc b/.envrc index 19be922..cbf6eda 100644 --- a/.envrc +++ b/.envrc @@ -8,7 +8,7 @@ export GUILE_LOAD_PATH=$BIZ_ROOT # Biz/Devalloc.hs: export GITHUB_CLIENT_ID=aa575dc96263bc99556d -export GITHUB_STATE=$(cat /proc/sys/kernel/random/uuid) +export GITHUB_CLIENT_STATE=$(cat /proc/sys/kernel/random/uuid) export STRIPE_PUBKEY=pk_test_51I3jv1IC3f10BNLClrBmNr485mWSzQkITvjO0MmSeFn4chFqmODJaHcI7IiN1sqSJYusmRhuPzeGTbCrl8dMsSQP00JXUmlVFC if type lorri &>/dev/null -- cgit v1.2.3