From 390bcdb8c6f7367e78dba108cea67c9ec8933cf4 Mon Sep 17 00:00:00 2001
From: Alex Tran <alex.tran1502@gmail.com>
Date: Sun, 23 Oct 2022 17:53:11 -0500
Subject: [PATCH] Fixed api generation action

---
 .github/workflows/openapi-generator.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/openapi-generator.yml b/.github/workflows/openapi-generator.yml
index 2b8cfea622..a990aa1642 100644
--- a/.github/workflows/openapi-generator.yml
+++ b/.github/workflows/openapi-generator.yml
@@ -37,7 +37,7 @@ jobs:
           git add .
           git commit -m "Update SDK"
           git remote add origin https://immich-app:"${{ secrets.GH_TOKEN }}"@github.com/immich-app/immich-sdk-typescript-axios.git
-          git pull origin main --allow-unrelated-histories
+          git pull origin main --allow-unrelated-histories --force
           git push origin main 2>&1 | grep -v 'To https'
 
       - name: Generate Dart SDK