Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Add chapter CRUD API - #298

Merged
Zeko369 merged 1 commit into
freeCodeCamp:masterfrom
Zeko369:chapterCrud_105
Dec 15, 2019
Merged

Zeko369 merged 1 commit into
freeCodeCamp:masterfrom
Zeko369:chapterCrud_105

Conversation

@Zeko369

@Zeko369 Zeko369 commented Dec 15, 2019 •

Copy link
Copy Markdown
Contributor

Cleaning up seeds, and "finishing" chapter api from #105

Closes #105

@Zeko369 Zeko369 changed the title Fix seeding of chapters, locations and users, make password_digest nu… Add chapter CRUD API Dec 15, 2019

@timmyichen timmyichen left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick question - why are we making passwords nullable?

@timmyichen

Copy link
Copy Markdown
Contributor

The above answered on stream - right now only auth method will be through Google OAuth

@Zeko369
Zeko369 merged commit facbffa into freeCodeCamp:master Dec 15, 2019
import { User } from '../models/User';

define(User, (faker: typeof Faker) => {
const location = new User({

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zeko369 it's should be const user

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API: As an administrator, I can create a chapter.

4 participants