Skip to content

Commit c519a9e

Browse files
authored
fix: deploy customDomains (#1142)
* fix: update stripCreateFields and stripUpdateFields to include created_at and updated_at * docs: add DeepWiki badge to README for community support
1 parent 3b8cadf commit c519a9e

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ yarn-error.log
1313
*.pub
1414
Makefile
1515
.vscode/*
16+
.github/copilot-instructions.md

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![CircleCI](https://circleci.com/gh/auth0/auth0-deploy-cli/tree/master.svg?style=svg)](https://circleci.com/gh/auth0/auth0-deploy-cli/tree/master)
55
[![codecov](https://codecov.io/gh/auth0/auth0-deploy-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/auth0/auth0-deploy-cli)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7+
[<img src="https://devin.ai/assets/deepwiki-badge.png" alt="Ask questions about auth0-deploy-cli on DeepWiki" height="20"/>](https://deepwiki.com/auth0/auth0-deploy-cli)
78

89
The Auth0 Deploy CLI is a tool that helps you manage your Auth0 tenant configuration. It integrates into your development workflows as a standalone CLI or as a node module.
910

src/tools/auth0/handlers/customDomains.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ export default class CustomDomainsHadnler extends DefaultAPIHandler {
4949
type: 'customDomains',
5050
id: 'custom_domain_id',
5151
identifiers: ['custom_domain_id', 'domain'],
52-
stripCreateFields: ['status', 'primary', 'verification', 'certificate'],
52+
stripCreateFields: [
53+
'status',
54+
'primary',
55+
'verification',
56+
'certificate',
57+
'created_at',
58+
'updated_at',
59+
],
5360
stripUpdateFields: [
5461
'status',
5562
'primary',
@@ -58,6 +65,8 @@ export default class CustomDomainsHadnler extends DefaultAPIHandler {
5865
'domain',
5966
'verification_method',
6067
'certificate',
68+
'created_at',
69+
'updated_at',
6170
],
6271
functions: {
6372
delete: (args) => this.client.customDomains.delete({ id: args.custom_domain_id }),
@@ -114,7 +123,6 @@ export default class CustomDomainsHadnler extends DefaultAPIHandler {
114123
}
115124

116125
const changes = await this.calcChanges(assets);
117-
118126
await super.processChanges(assets, changes);
119127
}
120128
}

0 commit comments

Comments
 (0)