mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
[bug] unable to fetch projects from OpenProjects (#126)
This commit is contained in:
parent
2f160ff2fe
commit
39ab5a7ba9
@ -1,5 +1,7 @@
|
|||||||
# Changelog Fab Manager
|
# Changelog Fab Manager
|
||||||
|
|
||||||
|
- Fix a bug: unable to fetch projects from OpenProjects (#126)
|
||||||
|
|
||||||
## v2.8.0 2018 December 27
|
## v2.8.0 2018 December 27
|
||||||
|
|
||||||
- Refactored subscriptions to keep track of the previous ones
|
- Refactored subscriptions to keep track of the previous ones
|
||||||
|
@ -468,7 +468,7 @@ If you want to try it, you can visit [this fab-manager](https://fablab.lacasemat
|
|||||||
|
|
||||||
To start using this awesome feature, there are a few steps:
|
To start using this awesome feature, there are a few steps:
|
||||||
- send a mail to **contact@fab-manager.com** asking for your Open Projects client's credentials and giving them the name of your fab-manager, they will give you an `OPENLAB_APP_ID` and an `OPENLAB_APP_SECRET`
|
- send a mail to **contact@fab-manager.com** asking for your Open Projects client's credentials and giving them the name of your fab-manager, they will give you an `OPENLAB_APP_ID` and an `OPENLAB_APP_SECRET`
|
||||||
- fill in the value of the keys in your `application.yml`
|
- fill in the value of the keys in your environment file
|
||||||
- start your fab-manager app
|
- start your fab-manager app
|
||||||
- export your projects to open-projects (if you already have projects created on your fab-manager, unless you can skip that part) executing this command: `bundle exec rake fablab:openlab:bulk_export`
|
- export your projects to open-projects (if you already have projects created on your fab-manager, unless you can skip that part) executing this command: `bundle exec rake fablab:openlab:bulk_export`
|
||||||
|
|
||||||
|
@ -401,7 +401,7 @@ Application.Controllers.controller('ProjectsController', ['$scope', '$state', 'P
|
|||||||
};
|
};
|
||||||
|
|
||||||
var normalizeProjectsAttrs = function (projects) {
|
var normalizeProjectsAttrs = function (projects) {
|
||||||
projects.map(function (project) {
|
return projects.map(function (project) {
|
||||||
project.project_image = project.image_url;
|
project.project_image = project.image_url;
|
||||||
return project;
|
return project;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user