]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/blocklist.ts
External auth can update user on login
[github/Chocobozzz/PeerTube.git] / server / lib / blocklist.ts
index 98273a6ea0de237842c3218eace53415a3df49ae..a11b717b548414daa8478fcd3ed6d73b5a4b2176 100644 (file)
@@ -8,7 +8,7 @@ function addAccountInBlocklist (byAccountId: number, targetAccountId: number) {
   return sequelizeTypescript.transaction(async t => {
     return AccountBlocklistModel.upsert({
       accountId: byAccountId,
-      targetAccountId: targetAccountId
+      targetAccountId
     }, { transaction: t })
   })
 }