Commit bf41cf7
Small improvement to the API (hestiacp#1372)
This PR returns error codes via API when passing incorrect data or failed authentication.
Co-authored-by: Daniel <alexis@pop-os.localdomain>
Co-authored-by: Raphael Schneeberger <rs@scit.ch>
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>1 parent 5e64915 commit bf41cf7
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | | - | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
0 commit comments