File tree 2 files changed +2
-2
lines changed
src/main/scala/au/org/ala/biocache/load
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
<groupId >au.org.ala</groupId >
11
11
<artifactId >biocache-store</artifactId >
12
- <version >2.6.0-SNAPSHOT </version >
12
+ <version >2.6.0</version >
13
13
<url >https://biocache.ala.org.au</url >
14
14
<issueManagement >
15
15
<system >GitHub</system >
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ trait DataLoader {
76
76
}
77
77
78
78
def getDataResourceDetailsAsMap (uid : String ): Map [String , String ] = {
79
- val json = scala.io.Source .fromURL(Config .registryUrl + " /dataResource/" + uid, " UTF-8" ).getLines().mkString
79
+ val json = scala.io.Source .fromURL(Config .registryUrl + " /dataResource/" + uid + " ?api_key= " + Config .collectoryApiKey , " UTF-8" ).getLines().mkString
80
80
JSON .parseFull(json).get.asInstanceOf [Map [String , String ]]
81
81
}
82
82
You can’t perform that action at this time.
0 commit comments