Merge pull request #501 from TNG-dev/hotfix-chunitachi-ini

This commit is contained in:
zkldi
2021-12-01 22:38:18 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -112,7 +112,7 @@ const syncInstructions: SyncInstructions[] = [
// Since the USC and BMS databases are managed Bokutachi-side, we
// shouldn't be honoring any sort of updates from tachi-database-seeds
// aside from an initial one.
const isInitial = await collection.findOne();
const isInitial = (await collection.findOne()) === null;
if (isInitial) {
const r = await GenericUpsert(charts, collection, "chartID", logger, true);
@@ -100,7 +100,7 @@ failOverLamp = false
apiStatus = ${ServerConfig.OUR_URL}/api/v1/status
; Where to POST scores to.
apiEndpoint = ${ServerConfig.OUR_URL}/ir/direct-manual
apiEndpoint = ${ServerConfig.OUR_URL}/ir/direct-manual/import
; This thing is secret! Keep it so. You can manage your API Keys at
; ${ServerConfig.OUR_URL}/users/me -> Integrations -> API Keys!