Fixed the storage service not properly reading bytes out of the correct struct, and instead attempting to assert the struct as raw byte data
Signed-off-by: arzumify <jliwin98@danwin1210.de>
This commit is contained in:
parent
48547833e4
commit
6eeea11a75
|
@ -220,7 +220,7 @@ func modifyFile(information library.ServiceInitializationInformation, message li
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write the file
|
// Write the file
|
||||||
_, err = file.Write(message.Message.([]byte))
|
_, err = file.Write(message.Message.(nucleusLibrary.File).Bytes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
respondError(err.Error(), information, true, message.ServiceID)
|
respondError(err.Error(), information, true, message.ServiceID)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue