experimental-extensions icon indicating copy to clipboard operation
experimental-extensions copied to clipboard

[firestore-leaderboard] Setting SCORE_COLLECTION_PATH doesn't work

Open CorieW opened this issue 1 year ago • 0 comments

Expected Behavior

Documents added to the SCORE_COLLECTION_PATH collection should trigger a leaderboard update.

Actual Behavior

Documents added to the SCORE_COLLECTION_PATH collection don't trigger a leaderboard update. Instead, it just triggers from the default (users) collection.

Steps to Reproduce the Problem

  1. Set SCORE_COLLECTION_PATH to scores
  2. Add a document to scores collection (won't do anything)
  3. Add a document to users collection (triggers a leaderboard update)

Specifications

  • Extension name: firestore-leaderboard

CorieW avatar Oct 03 '24 13:10 CorieW