This commit is contained in:
2026-03-24 05:45:31 +02:00
parent 89eb1e7bae
commit 74cc660dd5

View File

@@ -277,6 +277,10 @@ nb_set_multiple_ssids_yes() {
nb_add_tag_by_slug() {
local dev_id="$1" tag_slug="$2"
if [[ "$USE_TAGS" != "yes" ]]; then
return 0
fi
# 1) Lookup tag by slug
local tag_resp tag_id tag_name
tag_resp="$(curl -sS \
@@ -361,6 +365,10 @@ nb_add_tag_by_slug() {
nb_remove_tag_by_slug() {
local dev_id="$1" tag_slug="$2"
if [[ "$USE_TAGS" != "yes" ]]; then
return 0
fi
# 1) Get current tags
local dev_detail existing_objs_json
dev_detail="$(curl -sS \