-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: self hosted register #6581
base: canary
Are you sure you want to change the base?
Conversation
Your org has enabled the Graphite merge queue for merging into canaryAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @darkskygit and the rest of your teammates on Graphite |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit c6774a0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## canary #6581 +/- ##
==========================================
- Coverage 67.29% 67.25% -0.05%
==========================================
Files 612 612
Lines 29833 29852 +19
Branches 2681 2680 -1
==========================================
Hits 20077 20077
- Misses 9481 9500 +19
Partials 275 275
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
a9c3914
to
de433cc
Compare
de433cc
to
7d22a58
Compare
if (config.isSelfhosted && AFFINE_ADMIN_EMAIL) { | ||
const user = ref.get(UserService, { strict: false }); | ||
const quota = ref.get(QuotaService, { strict: false }); | ||
const { id } = (await user.findUserByEmail(AFFINE_ADMIN_EMAIL)) || {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some selfhosted server have more than one user, we should let all users use this plan
packages/backend/server/src/data/migrations/99999999-self-host-admin.ts
Outdated
Show resolved
Hide resolved
cbc9203
to
1c531d0
Compare
1c531d0
to
87df880
Compare
87df880
to
c6774a0
Compare
No description provided.