From 80f492b8fa2e7b4f14af53d3bdf02c951746e0f3 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Fri, 24 Jul 2020 19:09:33 +0200
Subject: [PATCH] chore: gitea PlatformParams

---
 lib/platform/gitea/index.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/platform/gitea/index.ts b/lib/platform/gitea/index.ts
index 2f0d3a1928..57b6ed5b86 100644
--- a/lib/platform/gitea/index.ts
+++ b/lib/platform/gitea/index.ts
@@ -29,6 +29,7 @@ import {
   FindPRConfig,
   Issue,
   Platform,
+  PlatformParams,
   PlatformResult,
   Pr,
   RepoParams,
@@ -186,7 +187,7 @@ const platform: Platform = {
   async initPlatform({
     endpoint,
     token,
-  }: GiteaRenovateConfig): Promise<PlatformResult> {
+  }: PlatformParams): Promise<PlatformResult> {
     if (!token) {
       throw new Error('Init: You must configure a Gitea personal access token');
     }
-- 
GitLab