projects
/
koha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug 34214: Make 'icon' configurable for Toolbar options
[koha.git]
/
koha-tmpl
/
intranet-tmpl
/
prog
/
js
/
vue
/
fetch
/
patron-api-client.js
1
import HttpClient from "./http-client";
2
3
export class PatronAPIClient extends HttpClient {
4
constructor() {
5
super({
6
baseURL: "/api/v1/",
7
});
8
}
9
10
get patrons() {
11
return {
12
get: id =>
13
this.get({
14
endpoint: "patrons/" + id,
15
}),
16
};
17
}
18
}
19
20
export default PatronAPIClient;