mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-20 20:06:39 +00:00
Merge dev into fix/log-analytics-adjustments
This commit is contained in:
@@ -11,9 +11,9 @@ import { usageService } from "@server/lib/billing/usageService";
|
||||
import { FeatureId } from "@server/lib/billing";
|
||||
|
||||
const paramsSchema = z.strictObject({
|
||||
domainId: z.string(),
|
||||
orgId: z.string()
|
||||
});
|
||||
domainId: z.string(),
|
||||
orgId: z.string()
|
||||
});
|
||||
|
||||
export type DeleteAccountDomainResponse = {
|
||||
success: boolean;
|
||||
@@ -48,10 +48,7 @@ export async function deleteAccountDomain(
|
||||
eq(orgDomains.domainId, domainId)
|
||||
)
|
||||
)
|
||||
.innerJoin(
|
||||
domains,
|
||||
eq(orgDomains.domainId, domains.domainId)
|
||||
);
|
||||
.innerJoin(domains, eq(orgDomains.domainId, domains.domainId));
|
||||
|
||||
if (!existing) {
|
||||
return next(
|
||||
|
||||
Reference in New Issue
Block a user