diff options
| author | mo khan <mo@mokhan.ca> | 2025-09-12 16:47:57 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-09-12 16:47:57 -0600 |
| commit | b62e1e0db61d067783d792724e7053ad78958d25 (patch) | |
| tree | 8c96c16c9548425d156df0990e808ae69c490b68 /app/init.go | |
| parent | 22b31dc21dc3e5fa1b2f2655f6db6bc480860477 (diff) | |
Diffstat (limited to 'app/init.go')
| -rw-r--r-- | app/init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/init.go b/app/init.go index ab1d6f8..b2ec3f3 100644 --- a/app/init.go +++ b/app/init.go @@ -40,8 +40,8 @@ func init() { ioc.RegisterSingleton[*authzed.Client](c, func() *authzed.Client { return authz.NewSpiceDBClient( context.Background(), - env.Fetch("ZED_ENDPOINT", ":50051"), - env.Fetch("ZED_TOKEN", "secret"), + env.Fetch("SPICEDB_ENDPOINT", ":50051"), + env.Fetch("SPICEDB_TOKEN", "secret"), ) }) ioc.Register[authz.CheckPermissionService](c, func() authz.CheckPermissionService { |
