about summary refs log tree commit diff
path: root/src/state/queries/index.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-04-25 10:35:21 -0500
committerGitHub <noreply@github.com>2024-04-25 10:35:21 -0500
commit6aded4f257fc85c50d57dc6334fa2a896e207aa5 (patch)
tree801994fe889bbd25a1a80dbb08dbf57e9f07d255 /src/state/queries/index.ts
parent5b82b1500720cc959d90471432b84c09d2f86388 (diff)
downloadvoidsky-6aded4f257fc85c50d57dc6334fa2a896e207aa5.tar.zst
[Session] Base (#3541)
* Add readLastActiveAccount to use accounts[] as source of truth

* Add public service constant, use
Diffstat (limited to 'src/state/queries/index.ts')
-rw-r--r--src/state/queries/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state/queries/index.ts b/src/state/queries/index.ts
index e7c5f577b..e30528ca1 100644
--- a/src/state/queries/index.ts
+++ b/src/state/queries/index.ts
@@ -1,7 +1,9 @@
 import {BskyAgent} from '@atproto/api'
 
+import {PUBLIC_BSKY_SERVICE} from '#/lib/constants'
+
 export const PUBLIC_BSKY_AGENT = new BskyAgent({
-  service: 'https://public.api.bsky.app',
+  service: PUBLIC_BSKY_SERVICE,
 })
 
 export const STALE = {