From e1eade245252338f9d7bc05bc63941608fc9c897 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 10 Jun 2020 13:13:21 -0400 Subject: [PATCH] don't sanitize public key --- services/gunDB/contact-api/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index d8e8ef67..54bd41fe 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -1235,7 +1235,7 @@ const follow = (publicKey, isPrivate) => { require('../Mediator') .getUser() .get(Key.FOLLOWS) - .get(`$$__PK__${publicKey}`) + .get(publicKey) // @ts-ignore .put(newFollow, ack => { if (ack.err) { @@ -1256,7 +1256,7 @@ const unfollow = publicKey => require('../Mediator') .getUser() .get(Key.FOLLOWS) - .get(`$$__PK__${publicKey}`) + .get(publicKey) .put(null, ack => { if (ack.err) { rej(new Error(ack.err))