fix: api 호출 순서가 거꾸로
This commit is contained in:
1 parent
c30965055c
commit
7de089dbbb
1 file changed
+1
-1
@@ -14,7 +14,7 @@ import { sammoAPI, ValidResponse } from './util/sammoAPI';
|
|||||||
declare const turnList: number[];
|
declare const turnList: number[];
|
||||||
|
|
||||||
async function submitCommand<T extends ValidResponse>(isChiefTurn: boolean, turnList: number[], action: string, arg: Args): Promise<T> {
|
async function submitCommand<T extends ValidResponse>(isChiefTurn: boolean, turnList: number[], action: string, arg: Args): Promise<T> {
|
||||||
const target = isChiefTurn ? 'Command/ReserveCommand' : 'NationCommand/ReserveCommand';
|
const target = isChiefTurn ? 'NationCommand/ReserveCommand' : 'Command/ReserveCommand';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const testResult = testSubmitArgs(arg);
|
const testResult = testSubmitArgs(arg);
|
||||||
|
|||||||
Reference in new issue
Block a user