Commit cbf676c
authored
refactor(billing): show success toast for 202 accepted response from subscription confirm endpoints (supabase#39823)
* refactor(billing): show success toast if backend returns 202 Accepted status code
* don't need to check slug for sub confirm endpoint1 parent c41a5be commit cbf676c
File tree
3 files changed
+42
-1
lines changed- apps/studio/data/subscriptions
- packages/api-types/types
3 files changed
+42
-1
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
66 | 78 | | |
67 | 79 | | |
68 | 80 | | |
| |||
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7612 | 7612 | | |
7613 | 7613 | | |
7614 | 7614 | | |
| 7615 | + | |
| 7616 | + | |
| 7617 | + | |
7615 | 7618 | | |
7616 | 7619 | | |
7617 | 7620 | | |
| |||
13831 | 13834 | | |
13832 | 13835 | | |
13833 | 13836 | | |
| 13837 | + | |
| 13838 | + | |
| 13839 | + | |
| 13840 | + | |
| 13841 | + | |
| 13842 | + | |
| 13843 | + | |
| 13844 | + | |
13834 | 13845 | | |
13835 | 13846 | | |
13836 | 13847 | | |
| |||
16169 | 16180 | | |
16170 | 16181 | | |
16171 | 16182 | | |
| 16183 | + | |
| 16184 | + | |
| 16185 | + | |
| 16186 | + | |
| 16187 | + | |
| 16188 | + | |
| 16189 | + | |
| 16190 | + | |
16172 | 16191 | | |
16173 | 16192 | | |
16174 | 16193 | | |
| |||
0 commit comments