diff options
author | tejasKharat | 2024-06-24 10:48:45 +0530 |
---|---|---|
committer | Sunil Shetye | 2024-08-30 11:07:34 +0530 |
commit | 1477f386c1414487d49a5cefb596bf6f6b72f86c (patch) | |
tree | 66de7cb59791686ec67a89e9d764aca03c0e3a0d | |
parent | 89404618cc0c9dcdcb10460ce2a382285db65900 (diff) | |
download | Common-Interface-Project-1477f386c1414487d49a5cefb596bf6f6b72f86c.tar.gz Common-Interface-Project-1477f386c1414487d49a5cefb596bf6f6b72f86c.tar.bz2 Common-Interface-Project-1477f386c1414487d49a5cefb596bf6f6b72f86c.zip |
Resolved the changes
-rw-r--r-- | blocks/saveAPI/urls.py | 4 | ||||
-rw-r--r-- | blocks/saveAPI/views.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/blocks/saveAPI/urls.py b/blocks/saveAPI/urls.py index 01d998a8..6b987052 100644 --- a/blocks/saveAPI/urls.py +++ b/blocks/saveAPI/urls.py @@ -20,8 +20,8 @@ urlpatterns = [ saveAPI_views.GalleryFetchSaveDeleteView.as_view(), name='fetchGallerySchematic'), - path("diagram/<uuid:save_id>", saveAPI_views.StateFetchUpdateView.as_view(), - name="deleteDiagram"), + path("diagram/<uuid:save_id>", saveAPI_views.FetchSaveDiagram.as_view(), + name="getDiagram"), ] diff --git a/blocks/saveAPI/views.py b/blocks/saveAPI/views.py index e9c57e20..9e9d07e9 100644 --- a/blocks/saveAPI/views.py +++ b/blocks/saveAPI/views.py @@ -116,7 +116,7 @@ class CopyStateView(APIView): {"save_id": copy_state.save_id}) -class StateFetchUpdateView(APIView): +class FetchSaveDiagram(APIView): """ Returns Saved data for given save id , Only user who saved the state can access / update it |