Skip to content

Commit

Permalink
now the backend also works with the front one
Browse files Browse the repository at this point in the history
  • Loading branch information
caryzxy authored and caryzxy committed Feb 24, 2025
1 parent 210a751 commit 5e575a3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 548 deletions.
4 changes: 2 additions & 2 deletions src/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@ async function createStudents() {

async function createInstructors() {
const groups = require('./groups');
const exists = await groups.exists('instructors');
const exists = await groups.exists('Instructors');
if (exists) {
winston.info('Instructors group found, skipping creation!');
} else {
await groups.create({
name: 'instructors',
name: 'Instructors',
userTitle: 'Instructor',
description: 'Cool instructors are here',
hidden: 0,
Expand Down
Loading

0 comments on commit 5e575a3

Please sign in to comment.