You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled error. Endpoint: /api/game/add-object-intent
/Users/connorshea/code/xxscreeps/src/backend/endpoints/game/intents.ts:20
throw new TypeError('Invalid parameters');
^
TypeError: Invalid parameters
at Object.execute (/Users/connorshea/code/xxscreeps/src/backend/endpoints/game/intents.ts:20:10)
at null.<anonymous> (/Users/connorshea/code/xxscreeps/src/backend/endpoints/index.ts:23:33)
at dispatch (/Users/connorshea/code/xxscreeps/node_modules/koa-compose/index.js:42:32)
at /Users/connorshea/code/xxscreeps/node_modules/koa-router/lib/router.js:372:16
at dispatch (/Users/connorshea/code/xxscreeps/node_modules/koa-compose/index.js:42:32)
at /Users/connorshea/code/xxscreeps/node_modules/koa-compose/index.js:34:12
at dispatch (/Users/connorshea/code/xxscreeps/node_modules/koa-router/lib/router.js:377:31)
at dispatch (/Users/connorshea/code/xxscreeps/node_modules/koa-compose/index.js:42:32)
at null.<anonymous> (/Users/connorshea/code/xxscreeps/src/mods/backend/password/backend.ts:34:10)
at dispatch (/Users/connorshea/code/xxscreeps/node_modules/koa-compose/index.js:42:32)
The text was updated successfully, but these errors were encountered:
One thing I did notice from the code is that this doesn't use the my convenience method to determine ownership. Probably not relevant, but a nice bit of code cleanup :P
The text was updated successfully, but these errors were encountered: