gallery api update
This commit is contained in:
1 parent
7ceb862dfc
commit
ea0d1175a5
3 files changed
+45
-59
No files matched your search
@@ -1,7 +1,3 @@
|
||||
/**
|
||||
* Created by tmshv on 22/11/14.
|
||||
*/
|
||||
|
||||
import EndPoint from './EndPoint';
|
||||
|
||||
export default class APIGallery extends EndPoint {
|
||||
@@ -9,8 +5,8 @@ export default class APIGallery extends EndPoint {
|
||||
return this.request.get(`/gallery/${year}`, {cache: true});
|
||||
}
|
||||
|
||||
album(year, course, album) {
|
||||
let url = `/gallery/${year}/${course}/${album}`;
|
||||
album(year, course, album, doPopulate) {
|
||||
let url = `/gallery/${year}/${course}/${album}?populate=${doPopulate}`;
|
||||
return this.request.get(url, {cache: true});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user