Skip to content

Commit 0641e73

Browse files
fix tests
1 parent 8927594 commit 0641e73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ads/aqua/extension/model_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ class AquaModelLicenseHandler(AquaAPIhandler):
100100
@handle_exceptions
101101
def get(self, model_id):
102102
"""Handle GET request."""
103+
104+
model_id = model_id.split("/")[0]
103105
return self.finish(AquaModelApp().load_license(model_id))
104106

105107

0 commit comments

Comments
 (0)