mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04:00
Move ProviderEnum and PassportProfile to web/auth/utils.ts
These two are directly related with auth stuff and seem to fit much better there. Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
4e7c82dc3b
commit
5852b45bdd
6 changed files with 30 additions and 31 deletions
|
@ -5,8 +5,8 @@ import path from 'path'
|
|||
import { config } from '../../config'
|
||||
import { errors } from '../../errors'
|
||||
import { logger } from '../../logger'
|
||||
import { Note, User } from '../../models'
|
||||
import { PassportProfile, PhotoProfile } from '../../models/user'
|
||||
import { Note } from '../../models'
|
||||
import { PhotoProfile } from '../../models/user'
|
||||
|
||||
export function newNote (req, res: Response, body: string | null): void {
|
||||
let owner = null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue