X Tutup
Skip to content

Commit 91914cf

Browse files
committed
[Fix] FrappeApi private variable and accessor
1 parent a4673f9 commit 91914cf

File tree

1 file changed

+9
-1
lines changed
  • scribejava-apis/src/main/java/com/github/scribejava/apis

1 file changed

+9
-1
lines changed

scribejava-apis/src/main/java/com/github/scribejava/apis/FrappeApi.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
public class FrappeApi extends DefaultApi20 {
99

10-
String serverURL = "https://erpnext.org";
10+
private String serverURL = "https://erpnext.org";
1111

1212
protected FrappeApi() {
1313
}
@@ -20,6 +20,14 @@ public static FrappeApi instance() {
2020
return InstanceHolder.INSTANCE;
2121
}
2222

23+
public String getServerURL() {
24+
return this.serverURL;
25+
}
26+
27+
public void setServerURL(String serverURL) {
28+
this.serverURL = serverURL;
29+
}
30+
2331
@Override
2432
public Verb getAccessTokenVerb() {
2533
return Verb.POST;

0 commit comments

Comments
 (0)
X Tutup