Skip to content

Commit

Permalink
fix: trigger release to pick up fix from #1976 (#1982)
Browse files Browse the repository at this point in the history
Since #1976 didn't touch any files in the `api` package, it didn't
trigger the release-please bot to open a release PR.

This just adds a kind of pointless comment so the change gets picked up.
  • Loading branch information
yusefnapora committed Sep 30, 2022
1 parent 7cc55cd commit 27f2542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api/src/user.js
Expand Up @@ -152,6 +152,7 @@ async function loginOrRegister (request, env) {
return maintenanceHandler()
} else if (env.MODE === READ_WRITE) {
user = await env.db.upsertUser(parsed)
// initialize billing, etc, but only if the user was newly inserted
if (user.inserted) {
await initializeNewUser(env, { ...user, id: user.id.toString() })
}
Expand Down

0 comments on commit 27f2542

Please sign in to comment.