upd: export headers used during signin

This commit is contained in:
Mar0xy 2023-11-07 18:18:04 +01:00
parent 5693e11362
commit d85cf658ca
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ export class ExportAccountDataProcessorService {
for (const signin of signins) {
// 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;
await writeIPs(isFirst ? JSON.stringify(signinTrimmed) : ',\n' + JSON.stringify(signinTrimmed));