Skip to content

Commit

Permalink
0.24.1 FIxed selections when DP provide None
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomansion committed Jul 7, 2023
1 parent c110e66 commit 92d6cb3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ def get_project_selections(url, project_id):
try:
selections = api.get_selections(url, project_id)

if selections is None:
print(
"Error: No selections found for project {} on {}".format(
project_id, url
)
)
raise DataProviderException("No selections found", 404)

debiai_selections = []
for selection in selections:
selection_to_add = {
Expand Down
2 changes: 1 addition & 1 deletion backend/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: "2.0"
info:
version: 0.24.0
version: 0.24.1
title: DebiAI_BACKEND_API
description: DebiAI backend api
contact:
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "debiai_frontend",
"version": "0.24.0",
"version": "0.24.1",
"description": "Frontend for Debiai, made with Vuejs",
"license": "Apache-2.0",
"scripts": {
Expand Down

0 comments on commit 92d6cb3

Please sign in to comment.