From ea4e60547b73284c47ad51fb943523446ff5819a Mon Sep 17 00:00:00 2001 From: Phil Rzewski Date: Wed, 13 Mar 2024 15:07:23 -0700 Subject: [PATCH 1/2] Specify ZNG format from file loader --- apps/zui/src/domain/loads/file-loader.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/zui/src/domain/loads/file-loader.ts b/apps/zui/src/domain/loads/file-loader.ts index 220eb96de9..9c73893420 100644 --- a/apps/zui/src/domain/loads/file-loader.ts +++ b/apps/zui/src/domain/loads/file-loader.ts @@ -33,6 +33,7 @@ export class FileLoader implements Loader { res = await client.load(body, { pool: ctx.poolId, branch: ctx.branch, + format: 'zng', message: { author: ctx.author, body: ctx.body, From 7b600d4dd7e0f89436739755dc24e46d98702645 Mon Sep 17 00:00:00 2001 From: Phil Rzewski Date: Wed, 13 Mar 2024 15:41:21 -0700 Subject: [PATCH 2/2] lint --- apps/zui/src/domain/loads/file-loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/zui/src/domain/loads/file-loader.ts b/apps/zui/src/domain/loads/file-loader.ts index 9c73893420..27d2c3ce10 100644 --- a/apps/zui/src/domain/loads/file-loader.ts +++ b/apps/zui/src/domain/loads/file-loader.ts @@ -33,7 +33,7 @@ export class FileLoader implements Loader { res = await client.load(body, { pool: ctx.poolId, branch: ctx.branch, - format: 'zng', + format: "zng", message: { author: ctx.author, body: ctx.body,