dnsapi: Beget.com fix rm record

This commit is contained in:
ARNik committed 2025-01-16 20:55:56 +03:00
1 parent 2fef0ebea8
commit aa6feb4b62
1 file changed
+3 -1
+3 -1
View File
@@ -237,7 +237,9 @@ _add_record() {
_rm_record() {
data=$1
record_data=$2
echo "$data" | sed "s/$record_data,//" | sed "s/,$record_data//" | sed "s/$record_data//"
echo "$data" | sed "s/$record_data//g" | sed "s/,\+/,/g" |
sed "s/{,/{/g" | sed "s/,}/}/g" |
sed "s/\[,/\[/g" | sed "s/,\]/\]/g"
}
_txt_to_dns_json() {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.