Fix script
This commit is contained in:
@@ -108,6 +108,11 @@ in {
|
||||
--arg pass "$DEFAULT_ADMIN_PASSWORD" \
|
||||
'{"Name": $name, "Password": $pass}')
|
||||
|
||||
if ! ${pkgs.curl}/bin/curl -sSf -X GET "$JELLYFIN_URL/Startup/User"; then
|
||||
echo "ERROR: Failed to get base user."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! ${pkgs.curl}/bin/curl -sSf -X POST "$JELLYFIN_URL/Startup/User" \
|
||||
-H 'accept: */*' \
|
||||
-H "Content-Type: application/json" \
|
||||
|
||||
Reference in New Issue
Block a user