this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(hetzner): use mut for variables that are mutated

dusk 7ab965e6 a223b4bd

+2 -2
+2 -2
firewall/provider/hetzner/app.nu
··· 6 6 return $"https://api.hetzner.cloud/v1($path)" 7 7 } 8 8 def post [path: string] { 9 - let resp = $in | http post -e --full -H authHeader --content-type application/json (makeApiUrl path) 9 + mut resp = $in | http post -e --full -H authHeader --content-type application/json (makeApiUrl path) 10 10 $resp.body = $resp.body | from json 11 11 $resp 12 12 } 13 13 def get [path: string] { 14 - let resp = http get -e --full -H authHeader (makeApiUrl path) 14 + mut resp = http get -e --full -H authHeader (makeApiUrl path) 15 15 $resp.body = $resp.body | from json 16 16 $resp 17 17 }