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-05-28 17:06:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
727cf6ba40116a9130ff7d349b4064d977c2ac2d
727cf6ba
1 parent
4ed50e0e
add Error syntax
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
back/src/api/Chat/wholeMessage/wholeMessage.js
back/src/api/Chat/wholeMessage/wholeMessage.js
View file @
727cf6b
...
@@ -38,6 +38,8 @@ export default {
...
@@ -38,6 +38,8 @@ export default {
38
},
38
},
39
},
39
},
40
});
40
});
41
+
}
else
{
42
+
throw
new
Error
(
"There is no room"
);
41
}
43
}
42
return
messageObj
;
44
return
messageObj
;
43
},
45
},
...
...
Please
register
or
login
to post a comment