Skip to content

Commit 642d6d1

Browse files
committed
FR-1541 - rolled back devSuicide route
1 parent 5381ebd commit 642d6d1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/community.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ const routes = prepareRoutes({
1616
onProductInstall: '/console/community/activity/products/install',
1717

1818
reportUserActivity: '/console/community/activity/report',
19+
20+
devSuicide: '/console/community/dev/suicide',
1921
})
2022

2123
export const community = req => ({
@@ -87,4 +89,8 @@ export const community = req => ({
8789
reportUserActivity() {
8890
return req.community.post(routes.reportUserActivity())
8991
},
92+
93+
onDeveloperSuicide() {
94+
return req.community.delete(routes.devSuicide())
95+
}
9096
})

0 commit comments

Comments
 (0)