don't sanitize public key
This commit is contained in:
parent
e6fd66a8c3
commit
e1eade2452
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue