init
This commit is contained in:
7
app/controllers/profile_controller.js
Normal file
7
app/controllers/profile_controller.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import UserTransformer from '#transformers/user_transformer';
|
||||
export default class ProfileController {
|
||||
async show({ auth, serialize }) {
|
||||
return serialize(UserTransformer.transform(auth.getUserOrFail()));
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=profile_controller.js.map
|
||||
Reference in New Issue
Block a user