refactor: drop the quiz import and the golem15.quizzes dependency
golem15.quizzes now serves its own import at /api/v1/quizzes/import behind the same shared API token.
This commit is contained in:
@@ -54,9 +54,8 @@ type Plugin struct {
|
||||
func (p *Plugin) ID() string { return "jz.bm" }
|
||||
|
||||
// Requires golem15.user: its users table holds the students, and its
|
||||
// jwt.auth middleware guards the API. golem15.quizzes holds the quizzes the
|
||||
// management API imports.
|
||||
func (p *Plugin) Requires() []string { return []string{"golem15.user", "golem15.quizzes"} }
|
||||
// jwt.auth and user.api_token middleware guard the APIs.
|
||||
func (p *Plugin) Requires() []string { return []string{"golem15.user"} }
|
||||
|
||||
func (p *Plugin) Register(app *backpack.App) error {
|
||||
p.app = app
|
||||
|
||||
Reference in New Issue
Block a user