Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-06-16 20:22:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fb9db05afa3a98bcfddd99571b506257657bdbe7
fb9db05a
1 parent
be49bb9c
add subCategory
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
back/src/api/Category/subCategory/subCategory.js
back/src/api/Category/subCategory/subCategory.js
0 → 100644
View file @
fb9db05
1
+
import
{
NEW_CATEGORY
}
from
"../../../topics"
;
2
+
3
+
export
default
{
4
+
Subscription
:
{
5
+
subCategory
:
{
6
+
subscribe
:
async
(
_
,
__
,
{
pubsub
})
=>
{
7
+
return
pubsub
.
asyncIterator
(
NEW_CATEGORY
);
8
+
},
9
+
},
10
+
},
11
+
};
Please
register
or
login
to post a comment