Skip to content

Commit

Permalink
Merge pull request #3432 from kobotoolbox/2.021.30-rest-logs-fix
Browse files Browse the repository at this point in the history
Fix bad route for REST services hooks
  • Loading branch information
jnm authored Aug 23, 2021
2 parents 266c12b + 16028a9 commit a3c8c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsapp/js/components/formSubScreens.es6
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class FormSubScreens extends React.Component {
return <RESTServices asset={this.state} />;
case ROUTES.FORM_REST_HOOK
.replace(':uid', this.state.uid)
.replace(':hook', this.props.params.hookUid):
.replace(':hookUid', this.props.params.hookUid):
return <RESTServices asset={this.state} hookUid={this.props.params.hookUid}/>;
case ROUTES.FORM_KOBOCAT.replace(':uid', this.state.uid):
iframeUrl = deployment__identifier+'/form_settings';
Expand Down

0 comments on commit a3c8c38

Please sign in to comment.