Skip to content

Commit

Permalink
Fixing type error (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen authored Sep 12, 2017
1 parent a347dd4 commit fbb1412
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/services/mocked-ros.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import {
IRealmFile,
IUser,
IUserMetadataRow,
metadataSchema,
permissionConditionSchema,
PermissionConditionType,
realmFileSchema,
userMetadataRowSchema,
userSchema,
} from "./ros";

Expand All @@ -18,7 +18,7 @@ export const getAuthRealm = async (): Promise<Realm> => {
path: "./data/auth.realm",
schema: [
userSchema,
metadataSchema,
userMetadataRowSchema,
],
});
};
Expand Down Expand Up @@ -75,8 +75,8 @@ export const createFakeUser = (authRealm: Realm) => {
userId: email,
isAdmin: false,
metadata: [
{ userId: email, key: "firstName", value: firstName },
{ userId: email, key: "lastName", value: lastName },
{ key: "firstName", value: firstName },
{ key: "lastName", value: lastName },
],
};
authRealm.create("User", user);
Expand Down

0 comments on commit fbb1412

Please sign in to comment.