Skip to content

Commit

Permalink
Refactored code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Saxena committed Mar 21, 2024
1 parent 511fa68 commit b8f755b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .migrations/00003-initialize-subscriptions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
db.subscribers.updateMany(
{},
{ $set: { subscriptionStatus: "not-subscribed" } }
);
db.users.updateMany({}, { $set: { subscriptionStatus: "not-subscribed" } });
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function CancelSubscriptionButton({
<DialogHeader>
<DialogTitle>Cancel subscription</DialogTitle>
</DialogHeader>
Are you sure, you want to Cancel subscription?
Are you sure, you want to cancel subscription?
</>
)}

Expand Down

0 comments on commit b8f755b

Please sign in to comment.