We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d081e8 commit 414f518Copy full SHA for 414f518
cli/src/action/website/index.ts
@@ -53,7 +53,7 @@ export async function del(bucketName: string, options: any) {
53
bucketName = appSchema.appid + '-' + bucketName
54
}
55
56
- const targetId = websites.find((item) => item.bucketName === bucketName)?.id
+ const targetId = websites.find((item) => item.bucketName === bucketName)?._id
57
if (!targetId) {
58
console.log(`${getEmoji('❌')} website ${bucketName} not found`)
59
return
0 commit comments