refactored/cleaned up API + added support for renaming tags

This commit is contained in:
daniel31x13
2023-10-23 00:28:39 -04:00
parent 24cced9dba
commit ed24685aaf
48 changed files with 603 additions and 305 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ export default function Account() {
data: request,
};
const response = await fetch("/api/migration", {
const response = await fetch("/api/v1/migration", {
method: "POST",
body: JSON.stringify(body),
});
@@ -333,7 +333,7 @@ export default function Account() {
<p className="text-sm text-black dark:text-white mb-2">
Download your data instantly.
</p>
<Link className="w-fit" href="/api/migration">
<Link className="w-fit" href="/api/v1/migration">
<div className="border w-fit border-slate-200 dark:border-neutral-700 rounded-md bg-white dark:bg-neutral-800 px-2 text-center select-none cursor-pointer duration-100 hover:border-sky-300 hover:dark:border-sky-600">
Export Data
</div>