@20syldev/api 3.3.8 → 3.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/app.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a href="https://api.sylvain.pro"><img src="https://api.sylvain.pro/favicon.ico" alt="Logo" width="25%" height="auto"/></a>
|
|
3
3
|
|
|
4
4
|
# API Personnelle
|
|
5
|
-
[](https://github.com/20syldev/api/releases/latest)
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
---
|
|
@@ -46,7 +46,7 @@ Enfin, **exécutez** le script de build, qui installera les **dépendances** et
|
|
|
46
46
|
$ npm run build
|
|
47
47
|
```
|
|
48
48
|
```console
|
|
49
|
-
> @20syldev/api@3.3.
|
|
49
|
+
> @20syldev/api@3.3.9 build
|
|
50
50
|
> npm install && node app.js
|
|
51
51
|
|
|
52
52
|
[...]
|
package/app.js
CHANGED
|
@@ -1027,7 +1027,7 @@ app.post('/:version/hash', (req, res) => {
|
|
|
1027
1027
|
app.post('/:version/hyperplanning', async (req, res) => {
|
|
1028
1028
|
const { url, detail } = req.body;
|
|
1029
1029
|
|
|
1030
|
-
if (!url) return res.jsonResponse({ error: 'Please provide a valid ICS file URL
|
|
1030
|
+
if (!url) return res.jsonResponse({ error: 'Please provide a valid ICS file URL (?url={URL})' });
|
|
1031
1031
|
|
|
1032
1032
|
try {
|
|
1033
1033
|
const response = await fetch(url);
|
package/package.json
CHANGED