Skip to content

Commit

Permalink
EMT-248: remove action from response
Browse files Browse the repository at this point in the history
  • Loading branch information
nnamdifrankie committed Mar 16, 2020
1 parent 42f760b commit acbc6e0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export interface PostAgentAcksRequest {
export interface PostAgentAcksResponse {
action: string;
success: boolean;
items: AgentAction[];
}

export interface PostAgentUnenrollRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@ describe('test acks handlers', () => {
expect(mockResponse.ok.mock.calls[0][0]?.body as PostAgentAcksResponse).toEqual({
action: 'acks',
success: true,
items: [
{
type: 'CONFIG_CHANGE',
id: 'action1',
},
],
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const postAgentAcksHandlerBuilder = function(
const body: PostAgentAcksResponse = {
action: 'acks',
success: true,
items: [...agentActions],
};

return response.ok({ body });
Expand Down

0 comments on commit acbc6e0

Please sign in to comment.