mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Fix linting.
This commit is contained in:
parent
2d90fdd64e
commit
d062a10a34
@ -52,7 +52,11 @@ import { isContributionValid } from './util/isContributionValid'
|
||||
// const EMAIL_OPT_IN_REGISTER = 1
|
||||
// const EMAIL_OPT_UNKNOWN = 3 // elopage?
|
||||
const MAX_CREATION_AMOUNT = new Decimal(1000)
|
||||
export const FULL_CREATION_AVAILABLE = [MAX_CREATION_AMOUNT, MAX_CREATION_AMOUNT, MAX_CREATION_AMOUNT]
|
||||
export const FULL_CREATION_AVAILABLE = [
|
||||
MAX_CREATION_AMOUNT,
|
||||
MAX_CREATION_AMOUNT,
|
||||
MAX_CREATION_AMOUNT,
|
||||
]
|
||||
|
||||
@Resolver()
|
||||
export class AdminResolver {
|
||||
@ -652,7 +656,10 @@ interface CreationMap {
|
||||
creations: Decimal[]
|
||||
}
|
||||
|
||||
export async function getUserCreations(ids: number[], includePending = true): Promise<CreationMap[]> {
|
||||
export async function getUserCreations(
|
||||
ids: number[],
|
||||
includePending = true,
|
||||
): Promise<CreationMap[]> {
|
||||
logger.trace('getUserCreations:', ids, includePending)
|
||||
const months = getCreationMonths()
|
||||
logger.trace('getUserCreations months', months)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user