refactor(chat): remove legacy unlock response fields
This commit is contained in:
@@ -442,7 +442,7 @@ describe("chat unlock flow", () => {
|
||||
response: makeUnlockPrivateResponse({
|
||||
unlocked: false,
|
||||
content: "",
|
||||
reason: "insufficient_balance",
|
||||
reason: "insufficient_credits",
|
||||
creditBalance: 3,
|
||||
creditsCharged: 0,
|
||||
requiredCredits: 10,
|
||||
@@ -472,7 +472,7 @@ describe("chat unlock flow", () => {
|
||||
displayMessageId: "msg-voice-locked",
|
||||
messageId: "msg-voice-locked",
|
||||
kind: "voice",
|
||||
reason: "insufficient_balance",
|
||||
reason: "insufficient_credits",
|
||||
creditBalance: 3,
|
||||
requiredCredits: 10,
|
||||
shortfallCredits: 7,
|
||||
|
||||
Reference in New Issue
Block a user