Skip to content
Snippets Groups Projects
Commit e0ebc7e2 authored by Alexey Lunin's avatar Alexey Lunin
Browse files

Update prepareVCardParts function

parent 5fa91436
No related branches found
No related tags found
1 merge request!75Implement validation of VCard
......@@ -142,7 +142,7 @@ export const prepareVCardParts = parts => {
}
for (const part of parts) {
if (part.body) {
if (part.body instanceof String) {
if (typeof part.body === "string") {
part.body = stringToUtf8Base64(part.body);
} else
if (part.body instanceof Uint8Array) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment