feat(bisaya-course): update German course creation script to support default owner retrieval
All checks were successful
Deploy to production / deploy (push) Successful in 3m12s
All checks were successful
Deploy to production / deploy (push) Successful in 3m12s
- Modified the create-german-for-bisaya-course.js script to allow optional ownerHashedId parameter.
- Implemented a new function to find a default owner ('system' or 'admin') if no ownerHashedId is provided.
- Updated documentation to reflect the change in usage for the script.
This commit is contained in:
@@ -463,10 +463,12 @@ Die Phasen 1 bis 5 sind jetzt als technische Struktur angelegt:
|
||||
### Neuer Kurs von Grund auf
|
||||
|
||||
```bash
|
||||
node backend/scripts/create-german-for-bisaya-course.js <ownerHashedId>
|
||||
node backend/scripts/create-german-for-bisaya-course.js [ownerHashedId]
|
||||
node backend/scripts/create-german-for-bisaya-course-content.js
|
||||
```
|
||||
|
||||
Ohne `ownerHashedId` nutzt das Skript automatisch zuerst `system`, sonst `admin` als Kursbesitzer.
|
||||
|
||||
### Bestehenden Kurs stufenweise erweitern
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user