make generic response status optional

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent 8817029258
commit 1ced1e977d
7 changed files with 7 additions and 19 deletions
+1 -4
View File
@@ -3,8 +3,5 @@ import { GenericResponse } from "../response/generic";
import { World } from "../world";
export function lockGarage(w: World, req: LockGarageRequest): GenericResponse {
return {
type: "generic_res",
status: 1, // ignored
};
return { type: "generic_res" };
}