We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7903407 commit c442d76Copy full SHA for c442d76
scripts/pb
@@ -172,7 +172,7 @@ pb_post() {
172
173
# record history
174
manage_url=$(jq -r '.manageUrl' "$tmp_file")
175
- manage_path=${admin_url##*/}
+ manage_path=${manage_url##*/}
176
echo "$manage_path" >> "$hist_file"
177
178
# copy URL to clipboard
@@ -243,8 +243,8 @@ pb_update() {
243
jq . "$tmp_file" 2>/dev/null || _die "$(cat "$tmp_file")"
244
245
246
- manage_url=$(jq -r '.admin' "$tmp_file")
247
+ manage_url=$(jq -r '.manageUrl' "$tmp_file")
248
249
250
0 commit comments