Fix linting.

This commit is contained in:
elweyn 2022-06-27 13:37:03 +02:00
parent 2d90fdd64e
commit d062a10a34

View File

@ -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)