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

chore: fix some typos in comment #625

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/api/src/app/admins/admins.service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe("AdminsService", () => {
expect(admin.apiKey).toBe(apiKey)
})

it("Should not create the apikey when the given id does not belog to an admin", async () => {
it("Should not create the apikey when the given id does not belong to an admin", async () => {
const wrongId = "wrongId"

const fun = adminsService.updateApiKey(
Expand Down Expand Up @@ -158,7 +158,7 @@ describe("AdminsService", () => {
)
})

it("Shoul throw if the action does not exist", async () => {
it("Should throw if the action does not exist", async () => {
const wrongAction = "wrong-action"

const fun = adminsService.updateApiKey(
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/api/bandadaAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export async function removeGroup(groupId: string): Promise<void | null> {
}

/**
* It returns a random string to be used as a OAuth state, to to protect against
* It returns a random string to be used as a OAuth state, to protect against
* forgery attacks. It will be used to retrieve group, member, redirectURI and provider
* before checking credentials and adding members.
* @param group The group id.
Expand Down