Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: addition of current user authentication in the request to creat… #71

Commits on Apr 29, 2019

  1. feat: addition of current user authentication in the request to creat…

    …e a new order
    
    Updated the create order method that handles post request to create a user order to authenticate
    against the current user before an order can be created, the client will have to pass the
    authentication token in the request header which will be authenticated before the order is created
    
    BREAKING CHANGE: For an order to be created the client must pass the authentication token in the
    request header, otherwise a 401 Unauthorized error will be generated
    
    feat loopbackio#43
    
    Signed-off-by: austin047 <[email protected]>
    austin047 authored and jannyHou committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    d74ca34 View commit details
    Browse the repository at this point in the history
  2. chore: upgrade all deps

    Signed-off-by: Raymond Feng <[email protected]>
    raymondfeng authored and jannyHou committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    0d663c8 View commit details
    Browse the repository at this point in the history
  3. refactor: Update user-order.controller.ts

    Signed-off-by: austin047 <[email protected]>
    austin047 authored and jannyHou committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    6903c1c View commit details
    Browse the repository at this point in the history
  4. chore: rebase code

    Signed-off-by: jannyHou <[email protected]>
    jannyHou committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    a5bb9a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2019

  1. feat: 🎸 Client can create an order without userId in the body

    Client can create an order without passing the userId in the body of the
    request, the serve collects the userId from the url and compares against
    the authenticated user(Current User) and the creates the order for that
    user.
    
    ✅ Closes: loopbackio#43
    
    refactor: 💡 remove debug console logs
    
    Remove console logs created for debug purposes
    
    Signed-off-by: Fuh Austin <[email protected]>
    austin047 committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    55854d1 View commit details
    Browse the repository at this point in the history