diff --git a/packages/backend/src/server/api/endpoints/i/move.ts b/packages/backend/src/server/api/endpoints/i/move.ts index 94b2271281..6b6425cc60 100644 --- a/packages/backend/src/server/api/endpoints/i/move.ts +++ b/packages/backend/src/server/api/endpoints/i/move.ts @@ -106,7 +106,7 @@ export default define(meta, paramDef, async (ps, user) => { }); let fromUrl: string | null = user.uri; if(!fromUrl) { - throw new ApiError(meta.errors.localUriNull); + fromUrl = `${config.url}/users/${user.id}`; } let toUrl: string | null = moveTo.uri;