summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2024-03-06 11:28:00 +0100
committerlassulus <git@lassul.us>2024-03-06 11:28:00 +0100
commite533d64f1f3b8d23bdb15668b37871a603157a85 (patch)
tree344b60e4af9fb411ae1f24b840e02714a5d0b77c /krebs/5pkgs
parentcb63f7b6c5b9993b4d0a25347f7813e707f6dfe3 (diff)
stable-generate: fix curl usage
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/simple/stable-generate/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/stable-generate/default.nix b/krebs/5pkgs/simple/stable-generate/default.nix
index dc9c826f9..31cf6c23d 100644
--- a/krebs/5pkgs/simple/stable-generate/default.nix
+++ b/krebs/5pkgs/simple/stable-generate/default.nix
@@ -18,7 +18,7 @@ pkgs.writers.writeBashBin "stable-generate" ''
filename=$(mktemp)
curl -Ssf "$STABLE_URL/sdapi/v1/txt2img" \
-X POST \
- --Header 'Content-Type: application/json' \
+ --header 'Content-Type: application/json' \
--data "$PAYLOAD" |
jq -r '.images[0]' |
base64 --decode > "$filename"