assertLocalUser(user: User): void
Throws a 400 when user's account lives on another instance
(isRemoteUser), whose password, email, avatar and name are that
instance's to change. The routes that change them call it first.
user: User
assertLocalUser(user: User): void
Throws a 400 when user's account lives on another instance
(isRemoteUser), whose password, email, avatar and name are that
instance's to change. The routes that change them call it first.
user: User
import { assertLocalUser } from "api/services/user-service.ts";