Skip to content

Commit a3c8c38

Browse files
authored
Merge pull request #3432 from kobotoolbox/2.021.30-rest-logs-fix
Fix bad route for REST services hooks
2 parents 266c12b + 16028a9 commit a3c8c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsapp/js/components/formSubScreens.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class FormSubScreens extends React.Component {
8585
return <RESTServices asset={this.state} />;
8686
case ROUTES.FORM_REST_HOOK
8787
.replace(':uid', this.state.uid)
88-
.replace(':hook', this.props.params.hookUid):
88+
.replace(':hookUid', this.props.params.hookUid):
8989
return <RESTServices asset={this.state} hookUid={this.props.params.hookUid}/>;
9090
case ROUTES.FORM_KOBOCAT.replace(':uid', this.state.uid):
9191
iframeUrl = deployment__identifier+'/form_settings';

0 commit comments

Comments
 (0)