mirror of
https://github.com/stakwork/sphinx-relay.git
synced 2026-08-13 12:33:24 +02:00
also rm hmac key and pushkit token from contact
This commit is contained in:
parent
4af0fd7400
commit
0d78b4a6a9
4 changed files with 6 additions and 2 deletions
2
dist/src/controllers/details.js
vendored
2
dist/src/controllers/details.js
vendored
|
|
@ -270,6 +270,8 @@ function clearForTesting(req, res) {
|
|||
contactKey: '',
|
||||
alias: '',
|
||||
deviceId: '',
|
||||
hmacKey: '',
|
||||
pushKitToken: '',
|
||||
});
|
||||
(0, res_1.success)(res, { clean: true });
|
||||
}
|
||||
|
|
|
|||
2
dist/src/controllers/details.js.map
vendored
2
dist/src/controllers/details.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -14,7 +14,7 @@
|
|||
"start-password": "USE_PASSWORD=true ts-node ./app.ts",
|
||||
"start-hosting": "HOSTING_PROVIDER=true ts-node ./app.ts",
|
||||
"prod": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && env NODE_ENV=production node dist/app.js",
|
||||
"tsc": "rm -rf dist/ && npx tsc && cp -r public dist/public",
|
||||
"tsc": "rm -rf dist/ && npx tsc",
|
||||
"dev": "rm -rf dist/ && tsc && cp -r public dist/public && node --inspect ./dist/app.js",
|
||||
"build-binaries": "rm -rf dist/ && tsc && cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && pkg . --target node12-alpine-x64,node12-macos-x64 --out-path binaries",
|
||||
"start-ecs": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && export NODE_ENV=production && node --max-old-space-size=128 dist/app.js",
|
||||
|
|
|
|||
|
|
@ -250,6 +250,8 @@ export async function clearForTesting(req: Req, res) {
|
|||
contactKey: '',
|
||||
alias: '',
|
||||
deviceId: '',
|
||||
hmacKey: '',
|
||||
pushKitToken: '',
|
||||
})
|
||||
success(res, { clean: true })
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue