Fix minor inconsistencies

This commit is contained in:
Zef Hemel
2023-08-15 07:56:29 +02:00
parent cf97d04b1b
commit b47c07da74
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export function getAttachmentMeta(name: string): Promise<AttachmentMeta> {
*/
export function readAttachment(
name: string,
): Promise<{ data: Uint8Array; meta: AttachmentMeta }> {
): Promise<Uint8Array> {
return syscall("space.readAttachment", name);
}