diff --git a/dma_client/client.py b/dma_client/client.py
index d39996d39e2e305a8c0cf35c8f3e9e563ca294ef..9afbf2509fa68521728e31932c9452229f88bf1d 100644
--- a/dma_client/client.py
+++ b/dma_client/client.py
@@ -195,7 +195,7 @@ class RESTClient:
             'archiveId': archive_id,
         }
         if restore_to:
-            payload['restoreTo'] = restore_to
+            payload['restoreTo'] = restore_to  # type: ignore
         resp = self.session.post(f'/data/{data_id}/restore', json=payload) # type: ignore
         if resp.status_code != 200:
             raise ClientException(