This commit is contained in:
Kevin Jahns
2022-03-20 23:58:14 +01:00
parent 4a06492fb1
commit 6b8cef29e2
3 changed files with 34 additions and 2 deletions

View File

@@ -100,4 +100,4 @@ export class ContentFormat {
* @param {UpdateDecoderV1 | UpdateDecoderV2} decoder
* @return {ContentFormat}
*/
export const readContentFormat = decoder => new ContentFormat(decoder.readString(), decoder.readJSON())
export const readContentFormat = decoder => new ContentFormat(decoder.readKey(), decoder.readJSON())