Fix fuckup with weight service
This commit is contained in:
		@@ -225,7 +225,7 @@ export namespace main {
 | 
			
		||||
	export class Weight {
 | 
			
		||||
	    rowid: number;
 | 
			
		||||
	    date: string;
 | 
			
		||||
	    food: number;
 | 
			
		||||
	    weight: number;
 | 
			
		||||
	
 | 
			
		||||
	    static createFrom(source: any = {}) {
 | 
			
		||||
	        return new Weight(source);
 | 
			
		||||
@@ -235,7 +235,7 @@ export namespace main {
 | 
			
		||||
	        if ('string' === typeof source) source = JSON.parse(source);
 | 
			
		||||
	        this.rowid = source["rowid"];
 | 
			
		||||
	        this.date = source["date"];
 | 
			
		||||
	        this.food = source["food"];
 | 
			
		||||
	        this.weight = source["weight"];
 | 
			
		||||
	    }
 | 
			
		||||
	}
 | 
			
		||||
	export class WailsWeight {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user