purple: switch local testing to staging testing

This commit is contained in:
William Casarin
2024-01-28 17:32:44 -08:00
parent 0c63f2ee26
commit ff6b19578e
8 changed files with 25 additions and 15 deletions

View File

@@ -63,7 +63,7 @@ class DamusState: HeadlessDamusState {
self.video = video
self.ndb = ndb
self.purple = purple ?? DamusPurple(
environment: settings.purple_api_local_test_mode ? .local_test : .production,
settings: settings,
keypair: keypair
)
}