We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 093910b commit 0ad0b33Copy full SHA for 0ad0b33
api/resolvers/domain.js
@@ -72,8 +72,10 @@ export default {
72
if (existing) {
73
// delete any existing domain verification job left
74
await cleanDomainVerificationJobs(existing, tx)
75
- // delete the domain
76
- await tx.domain.delete({ where: { subName } })
+ // delete the domain if we're not resuming from HOLD
+ if (existing.status !== 'HOLD') {
77
+ await tx.domain.delete({ where: { subName } })
78
+ }
79
}
80
81
const domain = await tx.domain.create({
0 commit comments