Skip to content

Commit b71e472

Browse files
committed
fix for vault reference
1 parent 2795f5c commit b71e472

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: @types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ export declare interface StackSession extends Session {
499499
listDataStores(stack: TypedID|string, callback?: ResultCb<Rows<TypedID>>): Promise<Rows<TypedID>>
500500
queryDataStores(stack: TypedID|string, query: Object, pagination?: Pagination, callback?: ResultCb<Rows<TypedID>>): Promise<Rows<TypedID>>
501501
findDataStoreStack(dataStore: string|DataStore, dataStoreType: string, callback?: ResultCb<PlatformObject>): Promise<PlatformObject>
502-
assignDataStore(stack: TypedID|string, dataStore: string|DataStore, key: string, callback?: ResultCb<void>): Promise<void>
502+
assignDataStore(stack: TypedID|string, dataStore: string|DataStore, type: string, key: string, callback?: ResultCb<void>): Promise<void>
503503
unassignDataStore(stack: TypedID|string, key: string, callback?: ResultCb<void>): Promise<void>
504504
}
505505

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cloudcms",
3-
"version": "0.2.19",
3+
"version": "0.2.20",
44
"repository": {
55
"type": "git",
66
"url": "git://github.com/gitana/cloudcms-javascript-driver.git"

Diff for: src/session/default/methods/transfer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ module.exports = function(Session)
116116
var vaultId = "primary";
117117
if (opts.vault)
118118
{
119-
vaultId = this.acquireId(vault);
119+
vaultId = this.acquireId(opts.vault);
120120
}
121121

122122
var params = {

0 commit comments

Comments
 (0)