mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Updates neovim config, and shorten-url create.
This commit is contained in:
2
env/.local/scripts/utils/shorten-url/create
vendored
2
env/.local/scripts/utils/shorten-url/create
vendored
@@ -56,7 +56,7 @@ generate_json() {
|
||||
'{longUrl: $longUrl, shortCode: $shortCode, tags: $tags, findIfExists: true, validUntil: $validUntil}'
|
||||
else
|
||||
jq -n --arg longUrl "$url" --arg shortCode "$shortCode" --argjson tags "$tagsJson" \
|
||||
'{longUrl: $longUrl, shortCode: $shortCode, tags: $tags, findIfExists: true}'
|
||||
'{longUrl: $longUrl, customSlug: $shortCode, tags: $tags, findIfExists: true}'
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user