bug: usertags

This commit is contained in:
Belen Curcio
2017-10-02 01:03:20 -03:00
parent 307fe58cf3
commit 43cb0efe7e
+18 -1
View File
@@ -96,6 +96,11 @@ export default {
user {
id
username
tags {
tag {
name
}
}
}
action_summaries {
count
@@ -129,7 +134,19 @@ export default {
user: {
__typename: 'User',
id: auth.user.id,
username: auth.user.username
username: auth.user.username,
tags: tags.map((tag) => ({
tag: {
name: tag,
created_at: new Date().toISOString(),
__typename: 'Tag'
},
assigned_by: {
id: auth.user.id,
__typename: 'User'
},
__typename: 'TagLink'
})),
},
created_at: new Date().toISOString(),
body,