1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] unable to fetch projects from OpenProjects (#126)

This commit is contained in:
Sylvain 2019-01-02 13:48:47 +01:00
parent 2f160ff2fe
commit 39ab5a7ba9
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# Changelog Fab Manager
- Fix a bug: unable to fetch projects from OpenProjects (#126)
## v2.8.0 2018 December 27
- Refactored subscriptions to keep track of the previous ones

View File

@ -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:
- 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
- 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`

View File

@ -401,7 +401,7 @@ Application.Controllers.controller('ProjectsController', ['$scope', '$state', 'P
};
var normalizeProjectsAttrs = function (projects) {
projects.map(function (project) {
return projects.map(function (project) {
project.project_image = project.image_url;
return project;
});