Skip to content

Commit 12ac059

Browse files
committed
feat: remove tagNames property from Create Link action
1 parent d678eab commit 12ac059

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

components/codeqr/actions/create-link/create-link.mjs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,6 @@ export default {
135135
description: "Whether the short link's stats are publicly accessible.",
136136
optional: true,
137137
},
138-
tagNames: {
139-
type: "string[]",
140-
label: "Tag Names",
141-
description: "Array of tag names to apply to the short link.",
142-
optional: true,
143-
},
144138
},
145139

146140
async run({ $ }) {
@@ -164,7 +158,6 @@ export default {
164158
expiresAt,
165159
expiredUrl,
166160
publicStats,
167-
tagNames,
168161
} = this;
169162

170163
const geo = typeof this.geo === "string"
@@ -194,8 +187,6 @@ export default {
194187
geo && (payload.geo = geo);
195188
publicStats != null && (payload.publicStats = publicStats);
196189

197-
if (tagNames?.length) payload.tagNames = tagNames;
198-
199190
const response = await this.codeqr.createLink({
200191
$,
201192
data: payload,

0 commit comments

Comments
 (0)