diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-11-26 22:53:05 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-11-26 22:53:05 -0800 |
| commit | baf3427609480fe4f458d250399dc05fb2d730b8 (patch) | |
| tree | 8eb402f8af4d8e7b59ce585fa14421230d1d20be | |
| parent | 22f992aa5edf39039bc8dd7ef5274dbdd4d777bb (diff) | |
fix: typo
| -rwxr-xr-x | mcsh.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ function auth ( res="$(curl -s -X POST "$XSTS_TOKEN_URL" -H 'Content-Type: application/json' -H 'Accept: application/json' -d "$req")" xsts_token="$(<<<"$res" jq -r '.Token')" - printf 'authenticating with mincraft\n' >&2 + printf 'authenticating with minecraft\n' >&2 req="$(jq -n --arg xuid "$xuid" --arg token "$xsts_token" '{"identityToken": "XBL3.0 x=\($xuid);\($token)"}')" res="$(curl -s -X POST "$MC_AUTH_URL" -H 'Content-Type: application/json' -H 'Accept: application/json' -d "$req")" mc_token="$(<<<"$res" jq -r '.access_token')" |