Skip to content

Commit

Permalink
Revert "feat(WIP): init ui (#103)"
Browse files Browse the repository at this point in the history
This reverts commit 2956e4b.
  • Loading branch information
fu050409 authored Dec 20, 2024
1 parent 2956e4b commit 4d4eede
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 158 deletions.
5 changes: 0 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion scripts/release-aur.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ const releaseAur = defineCommand({
execSync(`git -C aur config user.name "苏向夜"`, { stdio: "inherit" });
execSync(`git -C aur config user.email "[email protected]"`, {
stdio: "inherit",
cwd: "aur",
});

// Test AUR package (skip in CI)
Expand Down
21 changes: 1 addition & 20 deletions src/scripts/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,23 +246,4 @@ export const fetchRanks = async (id: string, auth: Credentials) => {
} catch (error) {
return handleAxiosError(AxiosError.from(error));
}
}

interface OrganizationData {
name: string;
display_name: string;
description: string;
}

export const createOrganization = async (auth: Credentials, form: OrganizationData) => {
try {
const response = await axios.post("/org/create", {
id: auth.id,
token: auth.token,
org: form,
});
return response.data as Response<Credentials>;
} catch (error) {
return handleAxiosError(AxiosError.from(error));
}
};
}
132 changes: 0 additions & 132 deletions src/views/org/create.vue

This file was deleted.

0 comments on commit 4d4eede

Please sign in to comment.