mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
create local uri out of ID [CI SKIP]
This commit is contained in:
parent
3be1975b15
commit
8998bc7836
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user