mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Critical flaw in AuthorAPI
This commit is contained in:
parent
2586ee9f98
commit
b38fc3a8b5
@ -53,7 +53,7 @@ namespace Wabbajack.Lib.FileUploader
|
||||
if (new_size != data.Length)
|
||||
data = new byte[new_size];
|
||||
|
||||
stream.ReadAsync(data, 0, data.Length);
|
||||
await stream.ReadAsync(data, 0, data.Length);
|
||||
|
||||
response = await client.PutAsync(UploadURL + $"/{key}/data/{old_offset}",
|
||||
new ByteArrayContent(data));
|
||||
|
Loading…
Reference in New Issue
Block a user