Skip to content

Commit

Permalink
Uses dashes in folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs committed Jun 25, 2024
1 parent 4f9649f commit 7437ea2
Show file tree
Hide file tree
Showing 37 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/common/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export * from "./db"
export * from "./errors"
export * from "./github"
export * from "./keyValueStore"
export * from "./key-value-store"
export * from "./mutex"
export * from "./session"
export * from "./userData"
export * from "./user-data"
export * from "./utils"
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import IKeyValueStore from "../keyValueStore/IKeyValueStore"
import IKeyValueStore from "../key-value-store/IKeyValueStore"
import IUserDataRepository from "./IUserDataRepository"

export default class KeyValueUserDataRepository implements IUserDataRepository<string> {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/composition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import GithubProvider from "next-auth/providers/github"
import EmailProvider from "next-auth/providers/nodemailer"
import PostgresAdapter from "@auth/pg-adapter"
import RedisKeyedMutexFactory from "@/common/mutex/RedisKeyedMutexFactory"
import RedisKeyValueStore from "@/common/keyValueStore/RedisKeyValueStore"
import RedisKeyValueStore from "@/common/key-value-store/RedisKeyValueStore"
import {
AuthjsSession,
GitHubClient,
Expand Down
8 changes: 4 additions & 4 deletions src/features/auth/domain/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./logIn"
export * from "./logOut"
export * from "./oAuthToken"
export * from "./sessionValidity"
export * from "./log-in"
export * from "./log-out"
export * from "./oauth-token"
export * from "./session-validity"
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export default class GitHubOrganizationSessionValidator {

async validateSession(): Promise<SessionValidity> {
const accountProvider = await this.accountProviderReader.getAccountProvider()
console.log(accountProvider)
if (accountProvider !== "github") {
console.log("FOOO")
// Only validate GitHub sessions and consider any other valid.
return SessionValidity.VALID
}
Expand Down

0 comments on commit 7437ea2

Please sign in to comment.