Skip to content

Commit

Permalink
Update cf-srv.py
Browse files Browse the repository at this point in the history
try to fix again
  • Loading branch information
MasterOfStar authored Jun 17, 2024
1 parent 426243b commit 67ca276
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions natter-docker/minecraft/cf-srv.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,8 @@ def _create_srv_record(self, zone_id, name, service, protocol, port, target,
f"https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_records",
data={
"data": {
"name": name,
"port": port,
"priority": priority,
"proto": protocol,
"service": service,
"target": target,
"weight": weight
},
Expand All @@ -166,11 +163,8 @@ def _update_srv_record(self, zone_id, rec_id, name, service, protocol, port, tar
f"https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_records/{rec_id}",
data={
"data": {
"name": name,
"port": port,
"priority": priority,
"proto": protocol,
"service": service,
"target": target,
"weight": weight
},
Expand Down

0 comments on commit 67ca276

Please sign in to comment.