Skip to content

Commit

Permalink
replace hasMany
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph committed Sep 8, 2023
1 parent 8e40fba commit a900e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/lib/models/assistant/actions/retrieval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ AgentRetrievalConfiguration.hasOne(AgentConfiguration, {
});

// Retrieval config <> Data source config
AgentRetrievalConfiguration.hasOne(AgentDataSourceConfiguration, {
AgentRetrievalConfiguration.hasMany(AgentDataSourceConfiguration, {
foreignKey: { name: "retrievalConfigurationId", allowNull: false },
onDelete: "CASCADE",
});
Expand Down

0 comments on commit a900e5f

Please sign in to comment.