Revert temporary change on surveys

This commit is contained in:
Pablo Bonilla 2021-08-02 14:23:37 -06:00
parent 1d06b6d84a
commit 55482cab09
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
1 changed files with 1 additions and 5 deletions

View File

@ -317,11 +317,7 @@ export class EncuestaComponent implements OnInit, AfterViewInit {
if (encuesta.id !== undefined) {
this.subscribeToSaveResponse(this.encuestaService.update(encuesta));
} else {
// TMP CREATE SURVEY FROM TEMPLATE
const templateId: Number = 20;
// this.subscribeToSaveResponse(this.encuestaService.create(encuesta));
this.subscribeToSaveResponse(this.encuestaService.createFromTemplate(encuesta, templateId));
this.subscribeToSaveResponse(this.encuestaService.create(encuesta));
}
}