fixing bug with not having any lines to show

This commit is contained in:
talksik
2022-05-05 09:38:54 -05:00
parent 2555ca3e89
commit 428e6f4582
6 changed files with 29 additions and 16 deletions
+4 -1
View File
@@ -9,9 +9,12 @@
export default class NirvanaResponse<T> {
data?: T;
error?: Error;
message?: string;
constructor(_data: T, _error?: Error) {
constructor(_data: T, _error?: Error, _message?: string) {
this.data = _data;
this.error = _error;
this.message = _message;
}
}