fix subscription success page (#636)

* fix subscription success page

* Fix typo
This commit is contained in:
Chirag Chhatrala
2024-12-02 15:25:09 +05:30
committed by GitHub
parent 6cf1cd663a
commit c927a235f8
3 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ const redirectIfSubscribed = () => {
}
const checkSubscription = () => {
// Fetch the user.
return noteFormsFetch('user').then((data) => {
return opnFetch('user').then((data) => {
authStore.setUser(data)
redirectIfSubscribed()
}).catch((error) => {