Skip to content

Commit

Permalink
fix fn name
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Gonzalez committed Dec 11, 2019
1 parent 2a7fe75 commit 5577100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sls-api-file-relation.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class SlsApiFileRelation extends API {

const model = buildModel(this.table, this.databaseKey);

const modelInstance = this.session.getInstance(model);
const modelInstance = this.session.getSessionInstance(model);

const insertedId = await modelInstance.insert({
[this.entityIdField]: id,
Expand Down

0 comments on commit 5577100

Please sign in to comment.