Skip to content

Commit 19f0763

Browse files
Fix Typo
1 parent d269517 commit 19f0763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/GroupService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ updateGroup.schema = {
309309
*/
310310
async function patchGroup(currentUser, groupId, data) {
311311
if (!data.oldId) {
312-
throw new error.BadRequestError('Can not Patch without oldId')
312+
throw new errors.BadRequestError('Can not Patch without oldId')
313313
}
314314
const session = helper.createDBSession()
315315
const tx = session.beginTransaction()

0 commit comments

Comments
 (0)