mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix decrypt and encript
This commit is contained in:
@@ -41,7 +41,8 @@ export function SAVE({key, localStorage, instance, dataToSave}) {
|
|||||||
localStorage.setItem(newKey, cipherText)
|
localStorage.setItem(newKey, cipherText)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
localStorage.setItem(prefix() + key, dataToSave)
|
const stringifyData = JSON.stringify(dataToSave)
|
||||||
|
localStorage.setItem(prefix() + key, stringifyData)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export class ProcessesService {
|
|||||||
|
|
||||||
setHeader() {
|
setHeader() {
|
||||||
|
|
||||||
console.log('CPSession.AuthorizationJwt', CPSession.AuthorizationJwt);
|
// console.log('CPSession.AuthorizationJwt', CPSession.AuthorizationJwt);
|
||||||
|
|
||||||
this.headers = new HttpHeaders();
|
this.headers = new HttpHeaders();
|
||||||
this.headers = this.headers.set('Authorization', this.loggeduser.BasicAuthKey);
|
this.headers = this.headers.set('Authorization', this.loggeduser.BasicAuthKey);
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "b3bbbffad",
|
"shortSHA": "c6c0f84b4",
|
||||||
"SHA": "b3bbbffaddd3d4d2079ee4c68677ae75cc3908f7",
|
"SHA": "c6c0f84b4eaade8221dadbfe60e18a7554ed8564",
|
||||||
"branch": "feature/gabinete-search",
|
"branch": "feature/gabinete-search",
|
||||||
"lastCommitAuthor": "'Peter Maquiran'",
|
"lastCommitAuthor": "'Peter Maquiran'",
|
||||||
"lastCommitTime": "'Mon Jul 10 12:38:29 2023 +0100'",
|
"lastCommitTime": "'Mon Jul 10 12:40:11 2023 +0100'",
|
||||||
"lastCommitMessage": "fix",
|
"lastCommitMessage": "change",
|
||||||
"lastCommitNumber": "5042",
|
"lastCommitNumber": "5043",
|
||||||
"change": "",
|
"change": "diff --git a/src/app/store/documentManagement.ts b/src/app/store/documentManagement.ts\nindex 2db3d75a5..741b07082 100644\n--- a/src/app/store/documentManagement.ts\n+++ b/src/app/store/documentManagement.ts\n@@ -23,9 +23,9 @@ models.migrate({\n \tversion: 1,\n \tmodels: [CPSession],\n })\n-\n-\n+// rewrite\n rewriteGet.connect(GET, [CPSession])\n rewriteSave.connect(SAVE, [CPSession])\n rewriteDelete.connect(DELETE, [CPSession])\n+// get function\n CPSession.get()\n\\ No newline at end of file",
|
||||||
"changeStatus": "On branch feature/gabinete-search\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/models/beast-orm.ts\n\tmodified: src/app/store/documentManagement.ts",
|
"changeStatus": "On branch feature/gabinete-search\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/models/beast-orm-function.ts\n\tmodified: src/app/services/processes.service.ts\n\tmodified: src/app/store/documentManagement.ts\n\nChanges not staged for commit:\n (use \"git add <file>...\" to update what will be committed)\n (use \"git restore <file>...\" to discard changes in working directory)\n\tmodified: src/app/store/documentManagement.ts",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user