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
@@ -7,8 +7,5 @@ export function loadGeneralReward(
req: LoadGeneralRewardRequest
): GenericResponse {
// A non-generic response is also accepted, but why bother
return {
type: "generic_res",
status: 1, // not even checked but let's be consistent
};
return { type: "generic_res" };
}