Skip to content

Commit

Permalink
Rename "refresh" action to "restart"
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Jul 26, 2024
1 parent 05b13ad commit 9ce0402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ClientWidgetApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ export class ClientWidgetApi extends EventEmitter {

switch (request.data.action) {
case UpdateDelayedEventActionName.Cancel:
case UpdateDelayedEventActionName.Refresh:
case UpdateDelayedEventActionName.Restart:
case UpdateDelayedEventActionName.Send:
break
default:
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/UpdateDelayedEventAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { IWidgetApiResponseData } from "./IWidgetApiResponse";

export enum UpdateDelayedEventActionName {
Cancel = "cancel",
Refresh = "refresh",
Restart = "restart",
Send = "send",
}

Expand Down

0 comments on commit 9ce0402

Please sign in to comment.