Skip to content

Commit f906a79

Browse files
committed
make enabled optional for update payload
1 parent e316d4d commit f906a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/types/workflowEngine/detectors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,12 @@ interface UpdateUptimeDataSourcePayload {
172172
}
173173

174174
export interface BaseDetectorUpdatePayload {
175-
enabled: boolean;
176175
name: string;
177176
owner: Detector['owner'];
178177
projectId: Detector['projectId'];
179178
type: Detector['type'];
180179
workflowIds: string[];
180+
enabled?: boolean;
181181
}
182182

183183
export interface UptimeDetectorUpdatePayload extends BaseDetectorUpdatePayload {

0 commit comments

Comments
 (0)