setup memcache
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { database, Character, Game, Pick, App } from './db'
|
||||
import { OrderByParser, FilterParser, ParsingError } from './tokenizer'
|
||||
|
||||
export function addCharacterApis(app, jsonParser) {
|
||||
export function addCharacterApis(app, jsonParser, memcace) {
|
||||
app.get('/api/character/:characterId', async (req, res) => {
|
||||
try {
|
||||
const character = await Character.findOne({
|
||||
|
||||
Reference in New Issue
Block a user