refactored/cleaned up API + added support for renaming tags
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user