1
0
Fork 0

wip(backend): more progress on account endpoints and tests

This commit is contained in:
joostdecock 2022-11-11 18:02:28 +01:00
parent f8e1fed09a
commit bccf4a35ee
7 changed files with 395 additions and 74 deletions

View file

@ -91,5 +91,5 @@ function b64ToBinaryWithType(dataUri) {
else if (start.includes('image/jpg')) type = 'image/jpeg'
else if (start.includes('image/jpeg')) type = 'image/jpeg'
return [type, new Buffer(data, 'base64')]
return [type, new Buffer.from(data, 'base64')]
}