more fixes

This commit is contained in:
David Poetzsch-Heffter
2017-04-10 22:40:44 +02:00
parent 246d148897
commit 2255a847d5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ declare namespace Parse {
previousAttributes(): any;
relation(attr: string): Relation<Object, Object>;
remove(attr: string, item: any): any;
save(attrs?: { [key: string]: any }, options?: Object.SaveOptions): Promise<Object>;
save(attrs?: { [key: string]: any } | null, options?: Object.SaveOptions): Promise<Object>;
save(key: string, value: any, options?: Object.SaveOptions): Promise<Object>;
set(key: string, value: any, options?: Object.SetOptions): boolean;
setACL(acl: ACL, options?: SuccessFailureOptions): boolean;
+2 -2
View File
@@ -244,8 +244,8 @@ function test_user_acl_roles() {
var game = new Game();
game.set("score", new GameScore());
game.setACL(new Parse.ACL(Parse.User.current()));
game.save().then((game: Game) => {
});
game.save().then((game: Game) => {});
game.save(null, { useMasterKey: true });
var groupACL = new Parse.ACL();