Skip to content

Commit

Permalink
fix: Add missing underscore in _CC -- fixes errors creating accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Wingysam committed Jan 25, 2025
1 parent 392f684 commit 04b40d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default ({ db, config }) => {
const filteredPool = unfilteredPool.filter(file => !rows.find(row => row.doc.pfp?.default === file))
const pool = filteredPool.length ? filteredPool : unfilteredPool

user.pfp = { default: CC._.sample(pool) }
user.pfp = { default: _CC._.sample(pool) }
await db.put(user)
}

Expand Down

0 comments on commit 04b40d3

Please sign in to comment.