feat(auth): add overriding subscription settings on home server (#656)

This commit is contained in:
Karol Sójko
2023-07-13 13:53:33 +02:00
committed by GitHub
parent 2a52e398cb
commit 0b82794e9c
22 changed files with 154 additions and 92 deletions
@@ -268,6 +268,7 @@ describe('UpdateSetting', () => {
serverEncryptionVersion: 1,
sensitive: false,
},
user,
userSubscription: regularSubscription,
})
@@ -303,6 +304,7 @@ describe('UpdateSetting', () => {
serverEncryptionVersion: 1,
sensitive: false,
},
user,
userSubscription: sharedSubscription,
})
@@ -91,6 +91,7 @@ export class UpdateSetting implements UseCaseInterface {
const response = await this.subscriptionSettingService.createOrReplace({
userSubscription: subscription,
user,
props,
})