Skip to content

Commit

Permalink
fix: Ajustes por despliegue
Browse files Browse the repository at this point in the history
  • Loading branch information
diagutierrezro committed Oct 9, 2024
1 parent 30906d4 commit f3aaff5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/scripts/controllers/general/registrar_nota.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/
angular.module('poluxClienteApp')
.controller('GeneralRegistrarNotaCtrl',
function($scope, $q, $translate,notificacionRequest, academicaRequest,nuxeoMidRequest,utils,gestorDocumentalMidRequest, nuxeoClient, $window ,poluxRequest, token_service, documentoRequest, parametrosRequest, poluxMidRequest,autenticacionMidRequest) {
function($scope, $q, $translate,notificacionRequest, academicaRequest,nuxeoMidRequest,utils,gestorDocumentalMidRequest, nuxeoClient, $window ,poluxRequest, token_service, documentoRequest, parametrosRequest, poluxMidRequest, autenticacionMidRequest) {
var ctrl = this;

//token_service.token.documento = "80093200";
Expand Down Expand Up @@ -939,7 +939,7 @@ angular.module('poluxClienteApp')
};

poluxMidRequest.post("tr_registrar_revision_tg", transaccionRechazo)
.then(function (response) {
.then(async function (response) {
console.log("Comparación Success")
if (response.data.Success === true) {
await autenticacionMidRequest.post("token/documentoToken", data_auth_mid).then(function (response) {
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/services/autenticacion_mid_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ angular.module('autenticacionMidService', [])
'Accept': 'application/json',
"Authorization": "Bearer " + window.localStorage.getItem('access_token'),
}
}
};
return {
/**
* @ngdoc function
Expand Down

0 comments on commit f3aaff5

Please sign in to comment.