Commit ab9d10d
refactor(functions): simplify fetch API per review comments
- Remove fallback path logic - only use /functions endpoint
- Remove X-App-Id header - not needed
- Remove automatic content-type handling - let fetch handle it natively
- Update tests to reflect the simplified behavior
Co-authored-by: Netanel Gilad <netanelgilad@users.noreply.github.com>1 parent 8c1ac2a commit ab9d10d
2 files changed
Lines changed: 6 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
| |||
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 114 | | |
122 | 115 | | |
123 | 116 | | |
| |||
127 | 120 | | |
128 | 121 | | |
129 | 122 | | |
130 | | - | |
| 123 | + | |
131 | 124 | | |
132 | 125 | | |
133 | 126 | | |
134 | 127 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 128 | | |
143 | 129 | | |
144 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | 477 | | |
481 | 478 | | |
482 | 479 | | |
483 | | - | |
| 480 | + | |
484 | 481 | | |
485 | | - | |
486 | | - | |
| 482 | + | |
487 | 483 | | |
488 | | - | |
| 484 | + | |
489 | 485 | | |
490 | 486 | | |
491 | 487 | | |
492 | 488 | | |
493 | | - | |
| 489 | + | |
494 | 490 | | |
495 | 491 | | |
496 | 492 | | |
497 | | - | |
498 | | - | |
499 | | - | |
| 493 | + | |
500 | 494 | | |
501 | 495 | | |
502 | 496 | | |
| |||
0 commit comments