feat: align ticket header editing flow
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
parent
e833888a3a
commit
f5a54f2814
21 changed files with 282 additions and 171 deletions
|
|
@ -16,7 +16,6 @@ export const ensureUser = mutation({
|
|||
.withIndex("by_tenant_email", (q) => q.eq("tenantId", args.tenantId).eq("email", args.email))
|
||||
.first();
|
||||
if (existing) return existing;
|
||||
const now = Date.now();
|
||||
const id = await ctx.db.insert("users", {
|
||||
tenantId: args.tenantId,
|
||||
email: args.email,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue