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

18 superuser manage data #90

Merged
merged 11 commits into from
Oct 24, 2019
Merged

Conversation

amusameh
Copy link
Contributor

@amusameh amusameh commented Oct 24, 2019

relates #18

  • Back end controller + queries for superuser to mange his sub users

Note: the rest of the issue is blocked until the other PR is merged

@codecov
Copy link

codecov bot commented Oct 24, 2019

Codecov Report

Merging #90 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #90   +/-   ##
=======================================
  Coverage   22.93%   22.93%           
=======================================
  Files          86       86           
  Lines         846      846           
  Branches       83       83           
=======================================
  Hits          194      194           
  Misses        574      574           
  Partials       78       78

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4dd84db...3208a37. Read the comment docs.

Copy link
Contributor

@arrested-developer arrested-developer left a comment

Choose a reason for hiding this comment

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

a few small changes

Copy link
Contributor

@arrested-developer arrested-developer left a comment

Choose a reason for hiding this comment

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

Sorry! One last change

const router = express.Router();

router.get("/locations", getLocations);
router.post("/locations", addLocation);

router.get("/reps/records", getSuperUserRecords);
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, one last change - can you make this /reps/locations to match the other locations endpoint?

@amusameh amusameh self-assigned this Oct 24, 2019
Copy link
Contributor

@arrested-developer arrested-developer left a comment

Choose a reason for hiding this comment

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

🤩

@arrested-developer arrested-developer merged commit 05dfd6a into master Oct 24, 2019
@arrested-developer arrested-developer deleted the 18-superuser-manage-data branch October 24, 2019 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants