Fix func call -_-
This commit is contained in:
parent
6109631b62
commit
e06c877dba
1 changed files with 3 additions and 3 deletions
|
|
@ -38,9 +38,9 @@ export default () => {
|
|||
|
||||
const makeJob = async (evt) => {
|
||||
evt.preventDefault();
|
||||
if (!formData.githubPat.length()) return;
|
||||
if (!formData.curseforgeSlug.length()) return;
|
||||
if (!formData.modrinthId.length()) return;
|
||||
if (!formData.githubPat.length) return;
|
||||
if (!formData.curseforgeSlug.length) return;
|
||||
if (!formData.modrinthId.length) return;
|
||||
|
||||
const resp = await fetch('/api/v1/jobs', {
|
||||
method: 'PUT',
|
||||
|
|
|
|||
Loading…
Reference in a new issue