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))