wip(backend): more progress on account endpoints and tests
This commit is contained in:
parent
f8e1fed09a
commit
bccf4a35ee
7 changed files with 395 additions and 74 deletions
|
@ -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')]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue