Skip to content

Commit 779c65c

Browse files
authored
Merge pull request #56 from enguerran/multi.init
call init to re-init
2 parents 593bce3 + 6233099 commit 779c65c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ class Cozy {
106106
}
107107

108108
init (options = {}) {
109-
if (this._inited) {
110-
throw new Error('Already inited instance')
111-
}
112-
113109
this._inited = true
114110
this._oauth = false // is oauth activated or not
115111
this._token = null // application token

0 commit comments

Comments
 (0)