Commit 7eb9ba3
Replace .watch() with .fetch() for one-time GraphQL queries
Changed getAccountByEmail, loginAccount, and getAllAccounts methods to use .fetch() instead of .watch().valueChanges for better performance as these are one-time data fetches, not subscriptions that need to watch for updates.
Co-authored-by: PhantomDave <34485699+PhantomDave@users.noreply.github.com>1 parent bade821 commit 7eb9ba3
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments