From 99d04500c54a457070659db43ed3c943f28769c4 Mon Sep 17 00:00:00 2001 From: Tyler Brown Cifu Shuster <tyler@fivepaths.com> Date: Thu, 25 Feb 2021 07:13:32 -0800 Subject: [PATCH] npm/api: changed metadata app property --- pkg/npm/api/metadata/lib.ts | 6 +++--- pkg/npm/api/metadata/types.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/npm/api/metadata/lib.ts b/pkg/npm/api/metadata/lib.ts index 448c64aaaf..6a0548e0ad 100644 --- a/pkg/npm/api/metadata/lib.ts +++ b/pkg/npm/api/metadata/lib.ts @@ -22,7 +22,7 @@ export const add = ( group, resource: { resource, - 'app-name': appName + app: appName }, metadata: { title, @@ -49,7 +49,7 @@ export const remove = ( group, resource: { resource, - 'app-name': appName + app: appName } } }); @@ -67,7 +67,7 @@ export const update = ( group: association.group, resource: { resource: association.resource, - 'app-name': association['app-name'] + app: association.app }, metadata } diff --git a/pkg/npm/api/metadata/types.ts b/pkg/npm/api/metadata/types.ts index 1687bca79d..4bcd076910 100644 --- a/pkg/npm/api/metadata/types.ts +++ b/pkg/npm/api/metadata/types.ts @@ -31,7 +31,7 @@ export type MetadataUpdateRemove = { export interface MdResource { resource: string; - 'app-name': AppName; + app: AppName; } export interface MetadataUpdatePreview {