mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 17:03:09 +02:00
upd: export headers used during signin
This commit is contained in:
parent
5693e11362
commit
d85cf658ca
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ export class ExportAccountDataProcessorService {
|
||||||
|
|
||||||
for (const signin of signins) {
|
for (const signin of signins) {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
const { userId, id, headers, user, ...signinTrimmed } = signin;
|
const { userId, id, user, ...signinTrimmed } = signin;
|
||||||
const isFirst = signins.indexOf(signin) === 0;
|
const isFirst = signins.indexOf(signin) === 0;
|
||||||
|
|
||||||
await writeIPs(isFirst ? JSON.stringify(signinTrimmed) : ',\n' + JSON.stringify(signinTrimmed));
|
await writeIPs(isFirst ? JSON.stringify(signinTrimmed) : ',\n' + JSON.stringify(signinTrimmed));
|
||||||
|
|
Loading…
Reference in a new issue