Skip to content

Commit 07b03d4

Browse files
committed
Use GH_NEW_ISSUE_URL in building hours
1 parent 932e7e5 commit 07b03d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/views/building-hours/report/submit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import jsYaml from 'js-yaml'
44
import type {BuildingType} from '../types'
55
import {email} from 'react-native-communications'
66
import querystring from 'querystring'
7+
import {GH_NEW_ISSUE_URL} from '../../globals'
78

89
export function submitReport(current: BuildingType, suggestion: BuildingType) {
910
// calling trim() on these to remove the trailing newlines
@@ -64,7 +65,7 @@ function makeIssueLink(before: string, after: string, title: string): string {
6465
title: `Building hours update for ${title}`,
6566
body: makeMarkdownBody(before, after),
6667
})
67-
return `https://github.com/StoDevX/AAO-React-Native/issues/new?${q}`
68+
return `${GH_NEW_ISSUE_URL}?${q}`
6869
}
6970

7071
function stringifyBuilding(building: BuildingType): string {

0 commit comments

Comments
 (0)