Post-merge fixes

This commit is contained in:
Gabe Kangas
2021-01-24 13:09:59 -08:00
parent 9ea5518503
commit fbffa732d4
2 changed files with 85 additions and 6 deletions

View File

@ -63,6 +63,8 @@ export const CREATE_WEBHOOK = `${API_LOCATION}webhooks/create`;
// hard coded social icons list
export const SOCIAL_PLATFORMS_LIST = `${NEXT_PUBLIC_API_HOST}api/socialplatforms`;
export const TEMP_UPDATER_API = LOGS_ALL;
const GITHUB_RELEASE_URL = "https://api.github.com/repos/owncast/owncast/releases/latest";
@ -72,12 +74,6 @@ interface FetchOptions {
auth?: boolean;
};
export async function fetchData(url: string, options?: FetchOptions) {
// TEMP
export const TEMP_UPDATER_API = LOGS_ALL;
const GITHUB_RELEASE_URL = "https://api.github.com/repos/owncast/owncast/releases/latest";
export async function fetchData(url: string, options?: object) {
const {
data,