Skip to content

Commit

Permalink
Merge pull request wso2#12595 from Avishka-Shamendra/ai_api_gateway
Browse files Browse the repository at this point in the history
Fix Api Product Create Insert Prep Statement
  • Loading branch information
Avishka-Shamendra authored Sep 24, 2024
2 parents a310bd2 + a72960b commit 54c8ba2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15381,7 +15381,7 @@ public void addAPIProduct(APIProduct apiProduct, String organization) throws API
prepStmtAddAPIProduct.setString(14, apiProduct.getVersionTimestamp());
prepStmtAddAPIProduct.setString(15,
APIUtil.setSubscriptionValidationStatusBeforeInsert(apiProduct.getAvailableTiers()));
prepStmtAddAPIProduct.setInt(15, apiProduct.isEgress());
prepStmtAddAPIProduct.setInt(16, apiProduct.isEgress());
prepStmtAddAPIProduct.execute();

rs = prepStmtAddAPIProduct.getGeneratedKeys();
Expand Down

0 comments on commit 54c8ba2

Please sign in to comment.