We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f6bc5 commit 2c21606Copy full SHA for 2c21606
src/users/register.js
@@ -2,15 +2,9 @@ import Utils from '../utils'
2
import Urls from '../urls'
3
import Request from '../request'
4
5
-import User from './user'
6
-
7
import { parseResponse, wrapAsync } from './utils'
8
9
export function register(user /** async */) {
10
- if (!(user instanceof User)) {
11
- throw new Error('Only Backendless.User accepted')
12
- }
13
14
const responder = Utils.extractResponder(arguments)
15
16
const isAsync = !!responder
0 commit comments