X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fuser.ts;h=f4ffae0e4178fa088d2e98fb3428d64189101977;hb=927fa4b11f692174d6296aa096d7a74bacdeea8b;hp=586fd0f128499929d45339af0fb569a790ec0049;hpb=9a82ce2455874a80167f5ae30bb19ea12eb0551e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/user.ts b/server/lib/user.ts index 586fd0f12..f4ffae0e4 100644 --- a/server/lib/user.ts +++ b/server/lib/user.ts @@ -64,8 +64,8 @@ function buildUser (options: { emailVerified, adminFlags, - videoQuota: videoQuota, - videoQuotaDaily: videoQuotaDaily, + videoQuota, + videoQuotaDaily, pluginAuth }) @@ -147,7 +147,7 @@ async function createApplicationActor (applicationId: number) { const accountCreated = await createLocalAccountWithoutKeys({ name: SERVER_ACTOR_NAME, userId: null, - applicationId: applicationId, + applicationId, t: undefined, type: 'Application' })