From 408e8fa468d16617f270702b1cc63fd73e3b4195 Mon Sep 17 00:00:00 2001 From: Roar Date: Sat, 18 Apr 2026 17:39:24 +0200 Subject: [PATCH] Updated FullCharityScrape Added method to expose the APICharityScraper so it can run the checkConnection() method. --- .../ntnu/systemutvikling/team6/scraper/FullCharityScrape.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helpmehelpapplication/src/main/java/ntnu/systemutvikling/team6/scraper/FullCharityScrape.java b/helpmehelpapplication/src/main/java/ntnu/systemutvikling/team6/scraper/FullCharityScrape.java index a69e3a9b..e881d424 100644 --- a/helpmehelpapplication/src/main/java/ntnu/systemutvikling/team6/scraper/FullCharityScrape.java +++ b/helpmehelpapplication/src/main/java/ntnu/systemutvikling/team6/scraper/FullCharityScrape.java @@ -103,4 +103,8 @@ public CharityRegistry getAPIAndURLCharityData() throws IOException, Interrupted } return charityRegistry; } + + public APICharityScraper getAPIScraper() { + return this.apiScraper; + } }