anchor.diff:  	}
   
   	@app.Route('/merge/markDone')
  -	Future markMergeDone(@app.QueryParam('id') int id) async {
  +	Future<int> markMergeDone(@app.QueryParam('id') int id) async {
   		return await dbConn.execute("UPDATE mergedreports SET done=true WHERE id=$id");
   	}
   
   	@app.Route('/merge/delete')
  -	Future deleteMerge(@app.QueryParam('id') int id) async {
  +	Future<int> deleteMerge(@app.QueryParam('id') int id) async {
   		return await dbConn.execute("DELETE FROM reports WHERE id=$id");
   	}
   }
positive.code: part of coUserver;
  
  class Report {
  	@Field() int id;
  	@Field() String title;
  	@Field() String description;
  	@Field() String log;
  	@Field() String useragent;
  	@Field() String username;
  	@Field() String email;
  	@Field() String category;
  	@Field() String image;
  	@Field() DateTime date;
  	@Field() bool done;
  	@Field() int merged;
  }
  
  class Merge {
  	@Field() int id;
  	@Field() String title;
  	@Field() String description;
  	@Field() String category;
  	@Field() List<int> reports;
  	@Field() bool done;
  }
  
negative.code: 	// Insert a report
  
  	@app.Route("/add", methods: const [app.POST], allowMultipartRequest: true)
  	Future<int> addReport(@app.Body(app.FORM) Map data) async {
  		if (data["image"] != null && data["image"] != "") {
  			data['image'] = CryptoUtils.bytesToBase64(data["image"].content);
  		}
  
  		String query = "INSERT INTO reports (title, description, log, useragent, username, email, category, image)";
  		query += "VALUES(@title, @description, @log, @useragent, @username, @email, @category, @image)";
  
  		return await dbConn.execute(query,data);
  	}
  
  	// Get existing reports
  
  	@app.Route('/list')
  	@Encode()
  	Future<List<Report>> listReports() async {
  		return await dbConn.query("SELECT * FROM reports", Report);
  	}
  
  	// Mark a report as done
  
  	@app.Route('/markDone')
  	Future<int> markReportDone(@app.QueryParam('id') int id) async {
  		return await dbConn.execute("UPDATE reports SET done=true WHERE id=$id", String);
  	}
  
  	// Permanently delete a report
  
  	@app.Route('/delete')
  	Future<int> deleteReport(@app.QueryParam('id') int id) async {
  		return await dbConn.execute("DELETE FROM reports WHERE id=$id", String);
  	}
  
  	// Get existing merges
  
  	@app.Route('/merge/list')
  	@Encode()
  	Future<List<MergeView>> listMerges() async {
  		List<MergeModel> merges = await dbConn.query("SELECT * FROM mergedreports", MergeModel);
  		List<MergeView> views = [];
  		merges.forEach((MergeModel merge) {
  			views.add(new MergeView.fromModel(merge));
  		});
  		return views;
  	}
  
  	// Merge reports
  
  	@app.Route('/merge/add')
  	Future<int> mergeReport(
  		@app.QueryParam('ids') String idList,
  		@app.QueryParam('title') String title,
  		@app.QueryParam('description') String description
  