Skip to content

Commit

Permalink
fix: notifications status after env checkout (#11197)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazpavel committed Oct 18, 2022
1 parent 1dc48b3 commit cba0ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface ICategoryMeta {
Name: string,
Region: string,
regulatedResourceName? : string
lastPushTimeStamp: string,
}

/**
Expand Down Expand Up @@ -36,7 +37,6 @@ export type IPinpointAppMeta = ICategoryMeta & IPinpointAppOutput;
export interface INotificationsMeta extends ICategoryMeta {
ResourceName: string, // legacy structure to store the resource name (without env)
output: Record<string, NotificationsChannelMeta>
lastPushTimeStamp: string,
}

interface IChannelResourceMeta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ export const scanCategoryMetaForPinpoint = (categoryMeta: $TSAny, options: $TSAn
Id: serviceMeta.output.Id,
Name: serviceMeta.output.Name || serviceMeta.output.appName,
Region: serviceMeta.output.Region,
lastPushTimeStamp: serviceMeta.lastPushTimeStamp,
};

if (options && options.isRegulatingResourceName) {
Expand Down

0 comments on commit cba0ff6

Please sign in to comment.