parent
844f43d271
commit
8109c65f8d
|
@ -1,7 +1,5 @@
|
||||||
import { Actions } from 'thundercats';
|
import { Actions } from 'thundercats';
|
||||||
import debugFactory from 'debug';
|
|
||||||
|
|
||||||
const debug = debugFactory('freecc:app:actions');
|
|
||||||
|
|
||||||
export default Actions({
|
export default Actions({
|
||||||
shouldBindMethods: true,
|
shouldBindMethods: true,
|
||||||
|
@ -16,15 +14,14 @@ export default Actions({
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
debug('fetching user data');
|
|
||||||
return this.readService$('user', null, null)
|
return this.readService$('user', null, null)
|
||||||
.map(function({
|
.map(({
|
||||||
username,
|
username,
|
||||||
picture,
|
picture,
|
||||||
progressTimestamps = [],
|
progressTimestamps = [],
|
||||||
isFrontEndCert,
|
isFrontEndCert,
|
||||||
isFullStackCert
|
isFullStackCert
|
||||||
}) {
|
}) => {
|
||||||
return {
|
return {
|
||||||
username,
|
username,
|
||||||
picture,
|
picture,
|
||||||
|
|
Loading…
Reference in New Issue