funktioniert, aber far from pretty
This commit is contained in:
parent
834f1284fe
commit
cc44bbaa4e
2 changed files with 49 additions and 4 deletions
3
backend/strapi/src/api/note/utils.js
Normal file
3
backend/strapi/src/api/note/utils.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
function getNoteIdFromUrl(url) {
|
||||
return Number(url.split("/").at(-1));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue