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

Create and test a function deleteRole #185

Open
jaytula opened this issue Sep 25, 2021 · 0 comments
Open

Create and test a function deleteRole #185

jaytula opened this issue Sep 25, 2021 · 0 comments
Labels
Back End Focused on Back End (Express / Postgres / Docker) Enhancement Improves or adds something

Comments

@jaytula
Copy link
Contributor

jaytula commented Sep 25, 2021

This issue requires #181 to be resolve first.

The function should look something like this:

const deleteRole = async (rid: number) => {
  // Have fun
}

Return either true or false

Also write tests to test in test/roles.test.ts

@ZumDeWald ZumDeWald added Enhancement Improves or adds something Front End Focused on Front End code (NextJS / Styled Components) hacktoberfest-accepted Accept for Hacktoberfest, will merge after review and removed hacktoberfest-accepted Accept for Hacktoberfest, will merge after review labels Sep 29, 2021
@jaytula jaytula added Back End Focused on Back End (Express / Postgres / Docker) and removed Front End Focused on Front End code (NextJS / Styled Components) labels Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back End Focused on Back End (Express / Postgres / Docker) Enhancement Improves or adds something
Projects
None yet
Development

No branches or pull requests

2 participants